Base64 Encoder / Decoder

Encode and decode Base64 text or files, with URL-safe and UTF-8 support.

Runs in your browser
Base64 · 64 B
SGVsbG8gZnJvbSBTb2x2ZUl0IOKAlCDgpKjgpK7gpLjgpY3gpKTgpYcg8J+Riw==

How to use Base64 Encoder / Decoder

1

Choose Encode or Decode.

2

Paste text or pick a file.

3

Copy the result.

When to use Base64 Encoder / Decoder

  • Creating a data URI to embed a small image or icon in HTML or CSS.
  • Decoding a Base64 string from an API response, email header or token to read it.
  • Encoding binary data so it can travel safely through systems that only accept text.

Tips for best results

  • Use URL-safe Base64 when the result goes into a URL or a filename.
  • Base64 makes data about 33% larger, so avoid it for big files.
  • Base64 is an encoding, not encryption — anyone can decode it, so never use it to hide secrets.

Related workflows

Frequently asked questions

Does it handle emojis and Hindi text?

Yes. Text is encoded as UTF-8, so every language and emoji round-trips correctly.

About this tool

Convert text or small files to Base64 and back — handy for data URIs, tokens and API testing.

Text is encoded as UTF-8 first, so Hindi, Gujarati and emoji round-trip correctly. Files are read locally in your browser and are never uploaded.

Base64 Encoder / Decoder runs entirely in your web browser. Your data are processed on your own device and are never uploaded to our servers, which makes it safe for personal and business files.