Advertisement

Base64 Encoder / Decoder

Encode plain text or binary data to Base64, or decode a Base64 string back to its original form. Runs entirely in your browser.

Text to Encode
Base64 Output

            
Advertisement
About Base64

Base64 encodes binary data as ASCII text using 64 printable characters (A–Z, a–z, 0–9, +, /).

Common uses: embedding images in HTML/CSS, encoding email attachments, storing binary data in JSON.

Note: Base64 is encoding, not encryption. It provides no security.

What is Base64?

Base64 is a binary-to-text encoding scheme that converts binary data into an ASCII string format using 64 printable characters. It was originally designed for encoding email attachments but is now used widely in web development, APIs, and data storage.

Common use cases

URL-Safe Base64

Standard Base64 uses + and / which have special meaning in URLs. URL-safe Base64 replaces these with - and _ respectively.