Using the SHA-256 Generator
The SHA-256 Generator hashes the text you type. The text field starts as hello. Choose Hash the text. The label above the headline reads SHA-256. The headline is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. The characters line is 64. The result text is that same digest. It is 64 lowercase hex characters. The page does not store the text. The same text returns the same hash.
The steps under the result say to read the text as typed, hash it with SHA-256, and show the lowercase hex digest. hello uses those five letters. Hash hello again and the headline stays 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. The characters line stays 64. A different string is a different input. The page hashes the characters you typed, including a change in case. It does not store either string.
The field allows from 1 to 5000 characters. An empty field says Enter from 1 to 5000 characters. A field that trims to nothing uses that message too. Text longer than 5000 characters uses the same message. The characters line is not the length of hello. hello is 5 characters. The characters line is 64 because the digest is 64 hex characters. The page does not store the text after the hash is shown.
Copy result copies the digest. For the starting field it copies 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. Reset returns the field to hello and the headline to Enter text. Copy the digest before you reset. The page does not add a secret, a header, or a second part. The output is the one digest. Lowercase hex means the letters in the digest are a through f, not A through F. The sample digest is already in that form.
The page does not look up hello in a list of stored phrases. It hashes the field. If the field is hello, the headline is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 and the characters line is 64. If the field is empty, there is no digest, and the headline is Enter from 1 to 5000 characters.
The digest uses the hex digits 0 through 9 and a through f. The sample for hello is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824, and every letter in it is lowercase. Count those characters and you get 64, which is what the characters line reports. The page does not insert spaces into the digest. It is one continuous string. Copy result copies that string. A note that breaks it across lines is still the same digest only if every hex character is still there in order.
A space inside the field is part of the text. hello with a space after it is not the sample. The sample is the five letters with nothing after the o. The page does not trim a space out of the middle or off the end before hashing, except that a field which trims to nothing is rejected before a hash. A field that still has a letter after trimming is hashed as typed, spaces included. That is why the sample field should be hello alone when you want 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. The page does not store the text either way. Hash hello a third time and the headline matches the first two, because the input matches. The characters line stays 64 on that third run. Nothing about repeating the hash changes the length. The label stays SHA-256. If the headline is the error message instead, the field was empty, only spaces, or longer than 5000 characters. Fix that field and hash hello again. The digest to expect is still 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. Write 64 beside that digest in your own note so the length travels with the hex.
What the Digest Is
The digest is the SHA-256 hash of the text you typed, written as 64 lowercase hex characters. For hello, the headline is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. The label above it reads SHA-256. The characters line is 64. The result text repeats the headline. The page does not store the text. Hash the same hello again and the digest matches. The five letters are the input. The 64 characters are the output.
The characters line is not a count of the input. hello has 5 characters, and the line still reads 64. A longer input, still within 5000 characters, also produces a digest of 64 lowercase hex characters. The page does not shorten that digest and does not print it in upper case. Read the headline as the digest. Read the characters line as 64. If you copy the headline and count past 64, you have picked up a space or a line break that the page did not put in the digest. The result text and the headline are the same 64 characters for a successful run. hello remains 5 characters in the field. Those are different counts, and both can sit on the screen together: 5 in the field, 64 on the characters line.
How hello Becomes 64 Hex Characters
The page reads the field as typed. It hashes those characters with SHA-256. It shows the lowercase hex digest. For hello, that digest is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. The characters line is 64. The steps under the result follow the read, the hash, and the lowercase hex. The page does not store the text. The same letters in the same order always rebuild that digest. Change one letter and you are hashing a different string.
A 32 character checksum is a different algorithm. The MD5 Hash Generator hashes the text you type with MD5. hello is 5d41402abc4b2a76b9719d911017c592. That page does not store the text. MD5 is a checksum here, not a password store. Use it when you want that checksum. Use this page when you want SHA-256. The MD5 digest has 32 hex characters. This digest has 64. They are not the same string.
What the Hash Does Not Keep
The page does not store the text. The digest is shown after you choose Hash the text. The field still shows what you typed until you edit it or reset, but the page does not keep a copy as a saved record. Copy the digest if you need it after a reset. Reset returns the field to hello and the headline to Enter text. The stored-text question is already answered by the run: nothing is kept as a stored input.
There is no secret field and no algorithm field. The hash is SHA-256 of the text alone. The headline label reads SHA-256 on a successful run. The digest is lowercase hex, 64 characters, which the characters line repeats as 64. The page does not turn the digest into upper case. It does not send the text anywhere to be hashed. The calculation uses the field. There is no second line for an MD5 digest on this page. The characters line will not read 32 here. 32 is the length of the MD5 checksum of hello, which is a different tool and a different digest. This characters line reads 64. The label reads SHA-256. Keep those two labels with the sample digest when you write the result down. The page does not store the text for you.
hello, Hashed Twice
Leave the field as hello. Choose Hash the text. The headline is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. The characters line is 64. The result text matches the headline. Hash again. The digest matches. The page does not store the text between those two runs. The match comes from hashing hello again. Clear the field and hash. The headline reads Enter from 1 to 5000 characters. Restore hello and confirm the sample digest returns.
A signed token uses SHA-256 inside a different construction. The JWT Encoder signs a JSON payload with HMAC SHA-256. The algorithm is always HS256. The sample payload {"sub":"1234567890","name":"Ada","iat":1516239022} and the secret secret produce a token that ends with 3o_ti1Cj-WEtqilw-c6CrPK7JxFXqcz1SN_CwMkbe04. That page does not send the token. Use it when you want an HS256 token from an object and a secret. Use this page when you want the SHA-256 digest of text. The token ending is not the hello digest.
The Character Bound and an Empty Field
The field must contain from 1 to 5000 characters. Empty text says Enter from 1 to 5000 characters. Text that trims to nothing uses that message, so a field of only spaces does not get a digest. Text longer than 5000 characters uses the same message. The characters line stays clear when that message is the headline. The page does not store the text from a failed run, and it does not show a partial digest.
A successful digest is always 64 lowercase hex characters. The characters line reads 64 for hello and for any other accepted text. The letters in the digest are lowercase. The input may contain any case. hello and a version of that word with a capital letter are different inputs, so they are not promised the same digest. The page hashes the characters as typed. It does not change their case before the hash.
Digests People Confuse With a Token
A common miss is to expect hello to produce a three-part token. This page produces one digest, 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824, and the characters line is 64. Another miss is to read 64 as the length of hello. hello has 5 characters. 64 is the digest length. Another miss is to expect the page to store the text. It does not. Another miss is to change one letter and expect the sample digest. The hash follows the text you typed. Another miss is to look for upper-case letters in the digest. The digest is lowercase hex.
A decoded token is not this digest either. The JWT Decoder decodes the header and the payload of a JSON Web Token. The page does not check the signature, so a decoded payload is not proof that the token is genuine. The signature line reads Not checked. Use it when you want to read the two JSON parts of a token. Use this page when you want the SHA-256 digest of text you type. A decoded payload is not 64 hex characters from the word hello.
Hash hello, Then an Empty Field
Enter hello. Hash the text. The headline is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. The characters line is 64. Hash again and confirm the digest matches. The page does not store the text, so the second match is a new hash of the same letters. Add a trailing space only if you mean to hash a different string. The sample digest belongs to hello with no extra space. Restore hello if you added anything.
Clear the field and hash. The headline reads Enter from 1 to 5000 characters. Enter spaces only and hash again. The headline reads the same message, because the trimmed field is empty. Restore hello. Confirm the characters line is 64 and the headline is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. The label above the headline should read SHA-256.
Keeping the Digest With the Text
Copy the digest. For hello it is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. Write the text hello beside it. The characters line 64 belongs to every successful digest, so the text you write down is what identifies this one. The page does not store the text. A later note that says only the digest, without the text, can be hello or some other string you hashed. Keep the text with the copy. Reset returns the field to hello and the headline to Enter text, so copy the digest first.
Upper case is a different string if you change the text before you hash it. The Uppercase Converter turns the text you type into upper case. hello becomes HELLO. That page does not change any other case. Use it when you want upper case. Use this page when you want the SHA-256 digest of the text as it is. HELLO is not the input that produces the sample digest. The sample input is hello, in lower case.
A 64 Character Digest of the Text You Typed
The headline answers what SHA-256 returns for the text in the field. hello is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. The characters line is 64. The digest is lowercase hex. The page does not store the text. The same text returns the same hash. An empty field says Enter from 1 to 5000 characters. Those outcomes come from the field. They do not come from a stored list of phrases.
Read the text you hashed before you quote the digest. If the field was hello, the headline is the digest this page promises for that word. Copy the digest and keep the word with it. A headline of 64 hex characters without the word can be misread later as an MD5 checksum, as a token signature, or as a hash of a different string. The characters line will still say 64. The text is what makes this digest the hello digest.
Checking the Length and the Sample
Hash hello. Compare the headline with 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. Count the hex characters and compare with the characters line. The check is 64. The letters should be lowercase. Hash hello again and confirm the headline matches. Clear the field and confirm the headline reads Enter from 1 to 5000 characters. The page does not store the text on the successful run. The label above a successful headline reads SHA-256.
Lower case is a different preparation of the letters. The Lowercase Converter turns the text you type into lower case. Hello becomes hello. Digits and spaces stay as typed. Use it when you want lower case before you hash. Use this page when you want the digest of the text you type here. Hello with a capital H is not the sample. The sample text is hello, and its digest is the 64 character value above.