Free tool Runs in your browser; your data never reaches us.

Base64 Encode and Decode Online

Encode text to Base64 or decode Base64 back to text. Accented letters and emoji are handled correctly as UTF-8, and URL-safe base64url is supported.

Text is encoded as UTF-8, so accented letters and emoji survive. When decoding, spaces, missing = padding, URL-safe characters and a data:…;base64, prefix are accepted.

How to use it

  1. Pick a direction: encode text to Base64 or decode Base64 to text.
  2. Paste the text or Base64 into the box; the result appears as you type.
  3. Tick "URL-safe" if the result goes into a web address or somewhere like a JWT.

Frequently asked questions

Is Base64 encryption?

No. Base64 is an encoding that turns data into text made of letters, digits and a few symbols. Anyone can decode it, so it must not be used to protect passwords or secrets.

Why does Base64 make data bigger?

Every 3 bytes of data are written as 4 Base64 characters, so the result is about a third longer.

Why do accented letters break in some tools?

The browser's old btoa function only knows Latin-1 characters and fails on letters such as ş or ğ and on emoji. This tool turns the text into UTF-8 bytes first, so every character is encoded and decoded correctly.

Is my data stored?

No. Encoding and decoding happen in your browser; your data is never sent to our server.