Text Difference Checker
Compare two texts line by line and highlight additions and removals.
Open tool →Create standards-based SHA-2 hashes from UTF-8 text using the browser’s Web Crypto API, with hexadecimal and Base64 output.
Choose SHA-256 and hash abc without a trailing newline. Compare the complete result below. Hexadecimal and Base64 are representations of the same digest bytes; they are not different hashing algorithms.
| Input or check | Expected result or decision |
|---|---|
| abc | ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad |
| abc followed by a newline | A different digest: line endings are part of the UTF-8 input. |
| Password storage | Use an appropriate password hashing scheme in an application; this text-digest tool is not one. |
| abc followed by LF (U+000A) | edeaaff3f1774ad2888673770c6d64097e391bc362d7d6fb34982ddf0efd18cb; the final newline is part of the UTF-8 input. |
| abc followed by CRLF (U+000D U+000A) | Browser textareas normalize CRLF to LF, so this tool hashes abc followed by LF. Hash the original file bytes in a file-checksum workflow if you need to preserve CRLF. |
This hashes UTF-8 text. It is not a password-storage system, and a digest cannot be decoded back into its original text.
These tools open separately; inputs are not transferred.
Compare two texts line by line and highlight additions and removals.
Open tool →Convert text to Base64 and back, entirely in your browser.
Open tool →Generate cryptographically random RFC 4122 version 4 UUIDs.
Open tool →Convert quoted CSV data into JSON arrays or objects locally.
Open tool →The browser calculates the digest from UTF-8 text. The input and hash are not sent to an Anvil processing server.
A hash does not encrypt data, prove authorship, or safely store passwords by itself. Unicode normalization and byte-for-byte input differences produce different results.
A cryptographic hash is designed to be one-way. It is not encryption and cannot be decoded back into the original text.
No. Password storage requires a salted, deliberately slow password-hashing function such as Argon2id, scrypt, bcrypt, or PBKDF2 on a trusted server.
Use the same algorithm and compare the exact UTF-8 text, including capitalization, trailing spaces, and line endings. Compare the same output representation. This text tool does not hash uploaded file bytes; use a file-checksum workflow for archives or downloads.
Invisible spaces, line endings, and Unicode representations change the input bytes. Compare the exact input before assuming the hashing algorithm is wrong.
This tool computes general-purpose text digests. Password storage requires a purpose-built password hashing scheme with appropriate salts and work factors in your application.
Choosing SHA-256, SHA-384, or SHA-512: A Practical Hashing Decision Guide
Compare SHA-256, SHA-384 and SHA-512 for integrity checks, text hashing, APIs and authentication, and learn when hashing is the wrong tool.
Why SHA-256 Hashes Differ for Identical-Looking Text
Thirteen browser tests compare SHA-256 results for whitespace, Unicode, CRLF normalization, and JSON formatting, with independent checks and fixtures.
Debug API Data with JSON, Base64, and Browser Tools
Work through JSON types, encoding, URL components, JWT claims, hashes, CSV conversion, and timestamps with small reproducible examples.