MB Networks
TOOL-15 · Encoding
Encode or decode Base64 strings instantly. Standard, URL-safe, and hex modes supported. Nothing leaves your device.
Mode
Could not decode — input may not be valid Base64
Base64 turns arbitrary binary data into plain ASCII text using 64 printable characters (A–Z, a–z, 0–9, +, /), so it can safely travel through systems that only handle text — email attachments, JSON fields, data URIs embedded in CSS or HTML, and HTTP Basic Auth headers all rely on it. It's not encryption or compression; it's purely a format conversion, and it makes data about 33% larger in the process (3 bytes of binary become 4 characters of text).
Common cases: decoding a JWT's payload (each of the three dot-separated sections is Base64), embedding a small image directly in CSS via a data URI, inspecting what an API is actually sending in a Basic Auth header, or converting a binary file to paste somewhere that only accepts text.
No — anyone can decode Base64 with no key at all, it's a pure format conversion, not a security mechanism. Never use it to protect sensitive data; use actual encryption for that.
Base64 encodes 3 bytes of input as 4 characters of output, a fixed 33% size increase. This is expected and unavoidable — it's the cost of representing arbitrary binary data as printable text.
Valid Base64 uses only A–Z, a–z, 0–9, +, /, and = as padding, with a total length that's a multiple of 4. Whitespace, line breaks, or a URL-safe variant (which swaps +/ / for - / _) will fail standard decoding — strip whitespace or convert the character set first.
Related tools
Security
Hash / Checksum Verifier
Compute MD5, SHA-1, SHA-256, and SHA-512 checksums for files or text, entirely in your browser. Paste an expected hash to verify a match instantly.
Open →Security
JWT Decoder
Decode and inspect JWT tokens instantly in your browser. See header, payload, and expiry status. No signature verification — nothing is sent anywhere.
Open →Security
Password Generator
Generate strong random passwords and diceware-style passphrases with entropy display. Uses cryptographically secure randomness. Nothing is logged or sent.
Open →Image
Image to Base64
Convert any image to a Base64 data URI for embedding directly in CSS or HTML. Runs entirely in your browser — nothing is uploaded.
Open →All encoding runs locally · No data sent