Toolyard

Base64 Encode / Decode

How to encode or decode Base64

  1. Choose Encode or Decode.
  2. Type or paste into the Input box. The result updates as you type.
  3. Tick URL-safe for the variant that uses - and _ instead of + and /, then Copy output.

Frequently asked questions

What is Base64?

A way of writing any data using only letters, digits, + and /, so it can travel safely in email, URLs and JSON. It is an encoding, not encryption: anyone can decode it.

Does it support emoji and accented letters?

Yes. Text is encoded as UTF-8, so every character round-trips correctly.

Is my text uploaded?

No. The text is processed inside your browser and is never sent anywhere.

More developer tools