Base64 Encode / Decode

About Base64 Encode / Decode

Encode any text to a Base64 string, or paste a Base64 string to decode it back to readable text. Useful for embedding small images and fonts in HTML or CSS, passing binary data in JSON and API payloads, working with data URIs, and inspecting JWT tokens and email attachments. The tool handles Unicode correctly and runs entirely in your browser, so nothing you encode or decode is uploaded.

How To Use

  1. Paste your text to encode it to Base64, or paste a Base64 string to decode it.
  2. The result appears instantly in the opposite panel.
  3. Copy the output to your clipboard for use in code, configs, or data URIs.

Example

Input: The plain text "Hello, World!".

Output: The Base64 string SGVsbG8sIFdvcmxkIQ==.

Who Uses Base64 Encode / Decode

  • Developers who prefer private, browser-only tools for formatting, validation, and data work.
  • Engineers who need fast local tools without installing anything or uploading code.
  • Teams that want private — files and text stay on your device and are never uploaded to a server.

Frequently Asked Questions

What is Base64 used for?

Base64 encodes binary or text data into ASCII characters so it can travel safely through systems that only handle text — email, JSON APIs, data URIs in HTML/CSS, and basic-auth headers.

Does it handle Unicode and emojis?

Yes. The encoder correctly converts UTF-8 text (including emojis and non-Latin characters) to Base64, and decodes it back without mangling the characters.

Can I decode a JWT with this?

Partially. A JWT is three Base64 segments joined by dots. You can decode the header and payload segments here to inspect their contents, but signature verification needs a dedicated JWT tool.

Is my data uploaded?

No. Encoding and decoding both run in your browser, so private strings and tokens never leave your device.

More Links