πŸ”’ Base64 Encoder & Decoder

Encode and decode Base64 with full Unicode support β€” instantly, in your browser

β‡… live

About Base64

πŸ”€ What Base64 is

Base64 represents binary data using 64 text characters (A–Z, a–z, 0–9, + and /), so it can travel safely through systems designed for text β€” email, JSON, XML, URLs.

🌍 Full Unicode support

Emoji, accents and non-Latin scripts are encoded as UTF-8 first, matching what modern APIs and browsers expect β€” many older tools corrupt these characters.

πŸ”— URL-safe variant

Standard Base64 uses + and /, which clash with URL syntax. The URL-safe flavour (RFC 4648) swaps them for - and _ β€” used in JWTs and web tokens.

πŸ–ΌοΈ Data URIs

Encoding a file with the data: prefix produces a string you can paste straight into an <img src> or CSS url() β€” the file embeds directly in your page.

⚠️ Not encryption

Base64 is an encoding, not a cipher β€” anyone can decode it instantly. Never use it to "hide" passwords or secrets.

πŸ“ Size cost

Base64 output is about 33% larger than the original data (every 3 bytes become 4 characters). That's the price of being text-safe.