SHA-256 of text or a file, in the tab
Web Crypto hashes UTF-8 text or a local file. You get lowercase hex, 64 characters, and Base64 of the same 32 bytes. Files stop at 10 MiB. Text over 256 KiB waits for “Calculate hash”. This is not a password vault.
Hex and Base64 from the same 32 bytes
The hex line is lowercase and 64 characters long. Base64 encodes those same digest bytes, not the original text. Short text updates as you type. Past 256 KiB of UTF-8, press “Calculate hash”.
A file up to 10 MiB, still local
Open the “File” tab and pick a file on the device. Above 10 MiB the page refuses it. The digest is not stored as a password list.
How to compute a SHA-256 digest here
-
Stay on “Text” and paste, or open “File” and pick a file from the device.
-
A file larger than 10 MiB is refused. Text over 256 KiB does not run by itself.
-
When the text is over 256 KiB, press “Calculate hash”. Shorter text fills hex and Base64 as you type.
-
Press “Copy hex” or “Copy Base64”. Both describe the same 32 bytes. Nothing is kept as a vault.
A digest you can compare, not a vault
-
Lowercase hex, 64 characters
The hex form is the usual way to compare a SHA-256 digest.
-
Base64 of those bytes
Base64 is the same 32-byte digest, not a second algorithm.
-
UTF-8 text or a file
Text is hashed as UTF-8. A file is hashed as its bytes, up to 10 MiB.
-
Calculate when it is large
Over 256 KiB, “Calculate hash” runs the digest so the tab stays responsive.
-
Stays in the tab
Web Crypto runs here. The file is not uploaded.
-
Not a password vault
The page does not store secrets. SHA-256 here is a digest, not a place to keep passwords.
Questions about the SHA-256 tool
How long is the hex?
64 lowercase characters, from the 32-byte digest.
Is Base64 a different hash?
No. It is the same 32 bytes written as Base64.
What if the file is over 10 MiB?
The page refuses it. The limit is 10 MiB.
Why did the button appear?
Text over 256 KiB shows “Calculate hash” instead of updating on every keystroke.
Can I save passwords here?
No. This is not a password vault, and it does not keep what you paste.
Is the file uploaded to be hashed?
No. Web Crypto hashes it in this tab.