Secrets never leave the tab
Tokens, keys, and private documents are encoded and hashed in memory on your own device. Open DevTools while you work — no request carries your data anywhere.
Encode, decode, and fingerprint — with Web Crypto only. Zero uploads, zero retention.
Drag & drop a file here, or click to browse
Images or documents up to 10 MB — read locally, never uploaded.
Privacy-First: Files and texts are processed only in your browser. Nothing is uploaded to any server — ever.
— — — — Workflow
Checksums only prove integrity when the bytes you hash are exactly the bytes you received. Keep the pipeline local — encode here, hash here, compare here — and there is no middleman who could alter a byte in transit.
Type or paste UTF-8 text — Thai included — and flip Encode/Decode with Swap, or drop an image or document onto the file dropzone to get its Data URL.
The output updates live with URL-safe mode on demand. Images also give you a thumbnail plus one-click HTML img tag and CSS background snippets.
SHA-256, SHA-512, SHA-1, and legacy MD5 compute over the exact input bytes in your tab via Web Crypto and a tiny built-in MD5 routine.
Paste the hash a vendor published into the matcher. Green means the bytes are identical; red means something changed in transit.
Concepts
Beginners often treat them as interchangeable — they are opposites. Encoding is a reversible change of representation with no secret and no loss; hashing is a one-way fingerprint where even one flipped bit produces a completely different digest. Use Base64 to move bytes through text channels, and hashes to prove bytes are intact.
| Aspect | Base64 Encoding | Cryptographic Hashing |
|---|---|---|
| Purpose | Reversible transport of binary as text | One-way fingerprint of content |
| Output size | ~33% larger than the input | Fixed size (e.g. 64 hex chars for SHA-256) |
| Reversible? | Yes — decode restores every byte | No — cannot recover the input |
| Use it for | Data URLs, JWT parts, pasting binary | Integrity checks, dedup, fingerprinting |
Safety
Hashing exists to catch tampering — uploading the file to be hashed defeats the point, since transit itself becomes the attack surface. Encoding secrets server-side has the same flaw: the plaintext already left your machine. Local processing removes the middleman entirely.
Tokens, keys, and private documents are encoded and hashed in memory on your own device. Open DevTools while you work — no request carries your data anywhere.
Only the Text Mode draft is remembered in localStorage. Dropped files live purely in tab memory and are gone on clear, reload, or close.
Digests come from the audited Web Crypto API, and MD5 is labeled legacy-only so nobody mistakes it for a security control.
FAQ
Never. Encoding, decoding, hashing, and file reading all run locally in your browser tab with built-in Web APIs — FileReader for uploads, TextEncoder for UTF-8, and Web Crypto for digests. Only your Text Mode draft is remembered in your own browser localStorage under the key b64hash:state; files are never persisted anywhere and vanish when you clear or close the tab.
SHA-256 is a collision-resistant 256-bit digest suitable for integrity checks and fingerprinting — prefer it for any security-sensitive comparison. MD5 is a legacy 128-bit digest kept only for verifying old checksums from vendors and mirrors; it is broken against deliberate collisions, so never rely on it alone. Base64 is neither: it is a reversible encoding, not a hash.
The decoder is strict on purpose: it strips whitespace, accepts both standard and URL-safe alphabets, restores missing padding, and then rejects illegal characters or bad length instead of guessing. Copy the full string including any trailing equals signs, or flip on URL-safe mode when working with JWT and API tokens.