Get a Repeatable SHA Hash From Text
Calculate SHA-256, SHA-384 or SHA-512 hashes of UTF-8 text directly in your browser.
Match the bytes first
A hash identifies bytes, not how text looks. A trailing newline, a different line ending or a space changes the digest. Start with a short test such as abc and compare it with a known result before checking a larger payload.
Choose the expected algorithm
SHA-256 produces 64 hexadecimal characters, SHA-384 produces 96 and SHA-512 produces 128. Match the algorithm named by the receiving system. These choices do not make a weak password safe to store as a simple hash.
Check character encoding
The tool always uses UTF-8. An accented letter can have more than one Unicode representation, and those representations can produce different hashes. Inspect the code points or byte sequence if two strings look identical but their digests disagree.
Know what this comparison proves
An equal digest can help detect accidental changes when the expected digest comes from a trusted source. A hash supplied alongside untrusted content does not establish its author. Use a signature or authenticated mechanism where authenticity matters.
Put it into practice
Base64 Encoder & Decoder
Encode UTF-8 text as Base64 or decode standard and URL-safe Base64 back to text.
Developer toolsSHA Hash Generator
Calculate SHA-256, SHA-384 or SHA-512 hashes of UTF-8 text directly in your browser.
Developer toolsText to Hex Converter
Encode text as hexadecimal UTF-8 bytes or decode a hex byte sequence back to text.
Developer toolsUTF-8 Byte Size Calculator
Measure UTF-8 bytes, Unicode code points and UTF-16 code units before sending or storing text.
Developer tools