How to use the Base64 Encoder & Decoder

  1. 1Paste your text or Base64 string.
  2. 2Click Encode or Decode.
  3. 3Optionally enable URL-safe output.
  4. 4Copy the result.

About this tool

Quick Base64 conversion

Developers use Base64 for data URIs, API tokens, basic auth headers and embedding small files in JSON or HTML.

Frequently asked questions

Base64 represents binary data using 64 printable characters so it can be safely sent in text-only systems such as JSON, URLs and email.

No. It is an encoding, not encryption. Anyone can decode it, so never use it to hide secrets.

Yes. Text is converted with UTF-8 before encoding, so emoji and non-Latin characters work.

It replaces + and / with - and _ and removes padding so the string can be used in URLs.

More free tools

Password GeneratorWord CounterJSON Formatter & ValidatorUUID Generator

Browse all free tools