Base64 Encoder & Decoder

Convert standard text into Base64 format or decode Base64 strings back to text instantly. 100% offline processing directly in your browserβ€”no data is sent to external servers.

How to Use

  1. To Encode: Paste or type plain text into the Input box, then click Encode.
  2. To Decode: Paste a Base64-encoded string into the Input box, then click Decode.
  3. URL-Safe Encoding: Check the URL-safe option if you plan to pass strings inside web links or query parameters.
  4. Quick Utilities: Use Swap β‡… to move output text back into the input field, or click Copy Output to copy results to your clipboard.

What is Base64?

Base64 is a binary-to-text encoding scheme that translates binary data (or complex character sets like UTF-8/emojis) into a simple ASCII string format. It utilizes 64 distinct characters: uppercase letters (A–Z), lowercase letters (a–z), numbers (0–9), and two special characters (+ and /, or - and _ for URL-safe representations).

Common Use Cases

🌐 Web Data Transmission

Safely transmitting data over network protocols (like HTTP or SMTP) that are primarily designed for text.

πŸ–ΌοΈ Embedded Media

Inlining small images, SVGs, or fonts directly inside HTML or CSS files via Data URIs.

πŸ”‘ API Payloads & Tokens

Formatting authorization headers and tokens (e.g., JSON Web Tokens / JWT) in a URL-friendly structure.

Note: Base64 is an encoding technique, not encryption. It does not secure or hide confidential data, as anyone can easily reverse the process to read the original content.