iT IvyIvy Tools Privacy-First Client Utilities

Base64 & Hash Inspector

Client-Side Codec & Digests

Encode, decode, and fingerprint — with Web Crypto only. Zero uploads, zero retention.

Input & modes
Encode → Base64

Privacy-First: Files and texts are processed only in your browser. Nothing is uploaded to any server — ever.

text mode • encode Web Crypto native

Workflow

How to Encode, Decode, and Verify Checksums Online

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.

  1. 01

    Pick Text or File mode

    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.

  2. 02

    Copy the Base64 result

    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.

  3. 03

    Read the live digests

    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.

  4. 04

    Verify against a checksum

    Paste the hash a vendor published into the matcher. Green means the bytes are identical; red means something changed in transit.

Concepts

Base64 Encoding vs. Cryptographic Hashing: What is the Difference?

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

Why Local In-Browser Processing is Essential for Sensitive Data

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.

01

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.

02

Files stay out of storage

Only the Text Mode draft is remembered in localStorage. Dropped files live purely in tab memory and are gone on clear, reload, or close.

03

Honest cryptography

Digests come from the audited Web Crypto API, and MD5 is labeled legacy-only so nobody mistakes it for a security control.

FAQ

Frequently Asked Questions

Are my files or texts uploaded anywhere?

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.

What is the difference between SHA-256 and MD5 here?

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.

Why does decoding fail with an invalid Base64 error?

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.