Skip to content
FR – lire en français

Base64 Encoder and Decoder

Turn text into Base64 and back, including URL-safe Base64.

Loading the tool on your device…

Base64 writes any text using only letters, digits and a few signs, so it survives email, URLs and config files. This tool encodes and decodes UTF-8 text, so accents and emoji come back intact, and reads the URL-safe variant too.

Updated 7 December 2026 · runs in your browser

How to use it

  1. Choose Encode or Decode.
  2. Type or paste your text.
  3. Copy the result, or swap it back to check.

Details

Base64 Encoder and Decoder details
Text encodingUTF-8, so accents and emoji round-trip
Variants readStandard and URL-safe, with or without = padding
Also acceptedLine breaks and a data: prefix

Questions

Do my files leave my computer?
No. This tool runs inside your browser tab. The page makes no network request with your data, and you can check that yourself in your browser's developer tools.
Is Base64 a way to hide or protect data?
No. Anyone can decode it in a second. It only changes how data is written, so never use it to protect a password or a secret.