Toolskits

Online tool

Base64 encoder and decoder

Convert text to Base64 and back. Works with accents, emoji and any language, and offers URL-safe Base64.

Loading the tool…

  1. Choose a mode
  2. Paste your input
  3. Copy the result

More text and generator tools

See all text and generator tools · All utilities

About base64 encoder and decoder

Base64 writes any data using only letters, digits, plus and slash, so it can travel through systems made for plain text, such as e-mail, JSON and URLs. This tool encodes text to Base64 and decodes it back, and it handles UTF-8 correctly, so accents, emoji and non-Latin scripts survive the round trip.

The URL-safe option replaces + and / with - and _ and removes the = padding, as used in web tokens.

How to encode or decode Base64

  1. Choose a modeEncode text to Base64, or decode Base64 to text.
  2. Paste your inputThe result appears at once.
  3. Copy the resultPress Copy.

Good to know

Frequently asked questions

Is Base64 secure?

No. It is an encoding, not encryption.

Why does decoding fail?

The text may contain characters that are not Base64, be cut off, or decode to binary data (like an image) instead of text.

Is my text sent to a server?

No. Everything is calculated in your browser, so your text stays on your device.

Other Toolskits tools