Skip to content

All tools

Base64 Encoder

Encode text to Base64 or decode Base64 back to text.

  • 100% free
  • Supports emoji and accents
  • Runs in your browser

Mode

0 characters

Last reviewed by the OnlineToolPro team

What is the Base64 Encoder?

Base64 represents any text or data using only letters, numbers and a few symbols, so it can travel safely through email, URLs and JSON. Encode text or decode a Base64 string — emoji and accents included.

How it works

How to use the Base64 Encoder

3 simple steps. No experience needed.

What can you use it for?

  • Decode a Base64 value from an API or config file.
  • Encode credentials for a Basic Auth header.
  • Create URL-safe Base64 for tokens.

Where Base64 is used

Base64 appears in email attachments, data URIs for images, HTTP Basic authentication headers, JSON Web Tokens and API payloads that need to carry binary data as text.

Text with emoji and accents

Text is converted to UTF-8 before encoding, so emoji, accented letters and non-Latin scripts round-trip correctly. Some simpler tools fail on these characters.

FAQ

Frequently asked questions

Is Base64 encryption?

No. Anyone can decode it — it only changes how data is written, not who can read it.

Why does my Base64 end with = signs?

They're padding. Base64 works in groups of three bytes, and = fills the gap when the input doesn't divide evenly.

Can I decode an image from Base64 here?

This tool decodes text. To turn an image into Base64, use the image to Base64 tool.

Other tools you might find useful next.

More Developer Tools

Format, convert and check code and data. 9 free tools.

Browse Developer tools
Other categories:YouTubeTextImagesPDFs