Base64

Encode and decode text and files. Standard or URL-safe, wrapped or not, with data: URL support and previews.

Runs in your browser

About Base64

Convert text or whole files to Base64 and back. Pick the standard alphabet or the URL-safe one used in JWTs and links, and choose whether the output is wrapped into lines.

Data URLs are understood, and decoded images can be previewed before you save them. Unicode text such as Nepali or emoji is encoded as UTF-8.

How to use it

  1. Paste text or drop a file.
  2. Pick encode or decode and the alphabet you need.
  3. Copy the result or download it as a file.

Frequently asked questions

What is URL-safe Base64?
It replaces + and / with - and _ so the value can sit in a URL or token without escaping. JWTs use this form.
Does it work with Unicode text?
Yes. Text is encoded as UTF-8 before Base64, so non-English characters round-trip correctly.

Related tools