ToolGlint

Hash Generator

Generate MD5, SHA-1, SHA-256 and SHA-512 hashes of any text. Computed in your browser, so your input is never uploaded.

Paste or type, or drop a file on the box.

Showing the hashes of empty text.

    Runs in your browser. Nothing you enter is uploaded or stored.

    How to use the Hash Generator

    1. Type or paste your text into the box, or load the sample to try it.
    2. The MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes all appear at once and update as you type.
    3. Check the shield and badge beside each name: red means broken, amber weak and green secure.
    4. Click any hash to copy it.
    5. Switch the output to Base64 if the system you are working with expects that instead of hexadecimal, or tick Uppercase for capital hex digits.
    6. To check a download or a stored value, paste the hash you expect under Compare with a hash. The tool says which algorithm it matches, or that it does not match.

    Questions and answers

    Is my text sent to a server?
    No. Every hash is computed in your browser, using its built-in cryptography for the SHA family. Nothing you type or paste is uploaded, stored or logged.
    What is a hash?
    A hash function turns any amount of data into a short, fixed-length fingerprint. The same input always gives the same hash, and changing a single character gives a completely different one. A hash cannot be turned back into the original text. Hashes are used to check that data has not changed and to refer to data by its fingerprint.
    Which algorithm should I use?
    Use SHA-256 unless something specific asks for another. MD5 and SHA-1 are broken for security purposes, because two different inputs with the same hash can be produced on purpose. They are still fine for non-security jobs such as spotting accidental corruption or matching a checksum someone published.
    Why does my hash differ from the one another tool gives?
    Almost always because the input is not byte-for-byte the same. A trailing space or line break, Windows line endings instead of Unix ones, or a different text encoding all change the hash. This tool hashes exactly what is in the box, as UTF-8. On the command line, echo adds a line break unless you use echo -n.
    Can I use this to store passwords?
    No. MD5 and the SHA family are designed to be fast, which makes guessing passwords against them fast too. Passwords should be stored with a deliberately slow algorithm made for the purpose, such as Argon2, scrypt or bcrypt, with a unique salt for each one.
    Why is there a hash when the box is empty?
    Empty text is a valid input and has a hash of its own. For MD5 it is d41d8cd98f00b204e9800998ecf8427e, a value worth recognising: seeing it usually means something hashed nothing by mistake.

    Related tools