Hash Generator

Hash text or files with MD5 and the SHA family.

FREE - NO SIGN-UP - RUNS ON YOUR DEVICE

Runs locally in your browser

  • Liveresult
  • 0uploads
  • 1 tapto copy
  • Freeno account
In practice

What you can count on

  • 0uploads
    • Your input stays on this device
    • Nothing is sent for processing
  • Liveoutput
    • Results update in the working area
    • Change inputs and compare instantly
  • 1 tapto copy
    • Copy the result
    • No account or install needed
Specification

Hash Generator at a glance

Input
Pasted text or one file, and a choice
Output
An MD5, SHA-1, SHA-256 or SHA-512 digest
Method
crypto.subtle for SHA, local MD5 too
Text or file
Text or file, not both
Algorithms
MD5, SHA-1, SHA-256, SHA-512
Price
Free
Where processing happens
On your device
How to

How to use Hash Generator

  1. 1

    Pick the algorithm

    Choose MD5, SHA-1, SHA-256 or SHA-512.

  2. 2

    Add text or a file

    Type the text you want hashed, or choose one file from your device. The file is read in this tab only.

  3. 3

    Copy the digest

    Press the hash button and the hexadecimal digest appears, with one Copy all button beside it.

Questions

Frequently asked questions

Does this work without uploading anything?

Yes. The tool processes your input inside the browser tab. Nothing is sent to a processing server or stored in an account.

Can I change the result before copying it?

Yes. Adjust any available control and the result updates. Copy it only when the output matches what you need.

Which browsers are supported?

Current versions of Chrome, Edge, Firefox and Safari support the browser features used here. Very old browsers may lack a required API.

Background

What a hash can and cannot tell you

A hash proves two files are identical byte for byte. It cannot be turned back into the content, and one changed byte changes the whole digest.

  • MD5 is fine for checking a download arrived intact. It is broken where someone might forge a matching file.
  • Hashing a password like this is not storage. That needs a slow function with a salt, such as bcrypt or Argon2.

Full specification

Specification of the Hash Generator tool
InputPasted text or one local file plus an algorithm.
OutputMD5, SHA-1, SHA-256 or SHA-512 hexadecimal digest.
Methodcrypto.subtle for SHA; local JavaScript MD5 for checksums only.
Text or fileThe two inputs are exclusive: choosing a file clears the text box, and typing clears the chosen file. One digest at a time.
AlgorithmsMD5, SHA-1, SHA-256 and SHA-512. SHA-512 is in the picker even where the page heading lists only the first three.
PriceFree. Supported by clearly labeled ads outside the working area.
Where processing happensIn your browser tab. Your input is never uploaded.
Next step

Keep going with the same files

All developer tools: Developer tools on SPOTTOOLS