JSON Formatter & Generator
Format or minify valid JSON, validate input syntax or generate sample JSON records locally.
Calculate SHA-256, SHA-384, SHA-512 or legacy SHA-1 digests of UTF-8 text locally.
Calculate a hexadecimal digest of the exact UTF-8 text you enter. Case, spaces and line breaks affect the digest; this tool hashes text rather than uploading or hashing a selected file.
Example: Hash the text abc with SHA-256 to obtain ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad.
How it works: The hash is calculated from the text’s UTF-8 bytes. SHA-256 produces 32 bytes, displayed as 64 hexadecimal characters. A fast text digest is not a password-storage algorithm, and SHA-1 is a legacy choice.
A digest depends on the exact UTF-8 bytes. Case, newlines, spaces and Unicode normalization can change the bytes even if the text looks similar.
SHA-256 of abc is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad; adding a newline creates a different digest.
Guidance updated . Methods and corrections
References: developer.mozilla.org
Your calculation values and selected files are not stored. Recent and saved tools keep tool identifiers; your market preference keeps only its country code in this browser.
Use the grouped tool selector above the form. Each tool has its own URL, and your browser’s Back button returns to the previous tool.