Summer Sale30% off your first term — VPS from $5 $3.50/mo, renews at $5/mo.Summer Sale ends in
Developer tool

Base64 Encode & Decode

Convert text to and from Base64 instantly. Fully UTF-8 safe and 100% in your browser — your data is never uploaded.

Text to encode
Result

What is Base64?

Base64 is a way to represent arbitrary data using only printable ASCII characters. Because it survives systems that mangle binary or non-ASCII bytes, it's everywhere: inline images as data URLs, tokens and credentials in HTTP headers, small payloads inside JSON, and MIME email. This tool converts in both directions and correctly handles full Unicode by encoding through UTF-8 first.

When you'll reach for it

  • Decoding a JWT segment or an HTTP Basic auth header.
  • Building a data: URL to inline a small asset.
  • Inspecting a Base64 blob pasted from a config or API response.
  • Encoding text to embed safely in JSON or a query string.

How to use it

  1. 1Choose Encode or Decode.
  2. 2Paste or type your input in the top box.
  3. 3The result updates instantly below.
  4. 4Copy the output with one click.

Frequently asked questions

What is Base64 encoding?+

Base64 encodes binary or text data into a set of 64 ASCII characters (A–Z, a–z, 0–9, + and /). It's used to safely embed data in contexts that only handle text, such as data URLs, JSON payloads, email attachments and HTTP headers.

Is Base64 encryption?+

No. Base64 is reversible encoding, not encryption — anyone can decode it. Never use it to protect secrets. Use it for transport and embedding, and use real encryption for confidentiality.

Does this handle emoji and accented characters?+

Yes. It encodes via UTF-8, so emoji, accents and any Unicode text round-trip correctly — unlike naive Base64 tools that break on non-ASCII input.

Is my data uploaded anywhere?+

No. Encoding and decoding happen entirely in your browser with the built-in btoa/atob and TextEncoder APIs. Nothing is sent to a server.