SHA-256 Hash Generator
Create a SHA-256 hash of any text in your browser.
About this tool
A hash is a fixed-length fingerprint of some data. SHA-256 turns any text into a string of 64 hexadecimal characters. The same text always gives the same hash, and even a tiny change gives a completely different result.
How to use it
Type or paste text into the box. The SHA-256 hash appears below and updates as you type. The text is converted to UTF-8 bytes first, so the hash matches what most programming languages and command line tools give for the same text.
What hashes are used for
Hashes check that a file or message has not changed: if the hash matches the one published by the author, the content is the same. They are used in digital signatures, in version control and in many security systems. Websites should store hashes of passwords, never the passwords themselves, though a plain SHA-256 alone is not enough for that and a slow password hashing method such as bcrypt, scrypt or Argon2 should be used instead.
Properties of SHA-256
It is a one-way function: you cannot work backwards from a hash to the text. Two different texts are extremely unlikely to give the same hash. The output is always 256 bits long, shown as 64 hex digits, whether the input is one letter or a whole book.
Example
The hash of the empty text is e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855. If you type nothing in the box, you will see this value. Adding a single space changes it completely.
Hashing files
This tool hashes text typed in the box, not files. To check a downloaded file, use the sha256sum command on Linux and Mac, or the Get-FileHash command in Windows PowerShell.
Common mistakes
Extra spaces or line breaks change the hash. Different text encodings change it too. When comparing hashes, copy the full string and compare every character.
Privacy
The hash is computed by your browser's built-in crypto functions. Your text is never sent to a server.
Frequently asked questions
Is the sha-256 hash generator free to use?
Yes. The sha-256 hash generator on QuickKit is free, needs no signup and has no usage limit.
Is my data safe when I use the sha-256 hash generator?
Yes. The sha-256 hash generator runs in your browser. What you enter is processed on your device and is not uploaded to a server.
Does the sha-256 hash generator work on a phone?
Yes. The page is built to work on phones, tablets and desktop browsers without installing anything.