Base64 Encoder / Decoder

Results

Base64 turns any data into plain letters, digits and a few symbols, so it can travel safely through email, URLs, JSON and other text-only places. It’s an encoding, not encryption.

How to use it

  1. Choose Encode or Decode.
  2. Type or paste your text or Base64.
  3. Tick URL-safe if the result goes in a web address or file name.

Example: “Hello, world!” encodes to “SGVsbG8sIHdvcmxkIQ==”, and “café” encodes to “Y2Fmw6k=”.

Questions and answers

Is Base64 encryption?

No. Anyone can decode it. Use it to carry data through text-only channels, not to hide it.

Why is the result longer than my text?

Base64 uses 4 characters for every 3 bytes, so it’s about a third longer. Accented letters and emoji take more than one byte each in UTF-8.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
textText to encode, or Base64 to decode.
modeencode or decode.
urlsafe1 for URL-safe Base64.

Example: https://toolabelle.com/base64/#text=Hello%2C+world%21&mode=encode&urlsafe=1

Related tools