Developer — Free

Base64 encode and decode

UTF-8 safe Base64 with URL-safe variant, both directions.

  1. 01Paste
  2. 02Adjust
  3. 03Copy
Paste text to begin. Free
01 — Steps

How to base64 encode and decode

  1. Paste input

    The tool detects which direction you probably want.

  2. Encode or decode

    Toggle the URL-safe alphabet for tokens or URLs.

  3. Copy

    One click.

02 — Questions

Frequently asked questions

Why does my decoded text look garbled?
The input was probably not UTF-8 text, for example binary data or a different encoding.
What is URL-safe Base64?
A variant using - and _ instead of + and /, with padding often removed, so it can appear in URLs and JWTs.
Does it handle Unicode?
Yes. Text is encoded as UTF-8, so accents, emoji and non-Latin scripts round-trip correctly.
03 — Related
04 — More

More developer tools

All developer tools