BENCH

Base64 Encode & Decode

Convert text and data to and from Base64 (and Base64URL)

How it works

Base64 represents binary data using 64 ASCII characters, commonly used to embed data in URLs, JSON, data URIs and email. This tool is UTF-8 aware, so emoji and non-Latin scripts encode and decode correctly. Base64URL swaps + and / for - and _ and drops padding so the result is safe inside URLs.

Frequently asked

What is the difference between Base64 and Base64URL?

Base64URL is a URL- and filename-safe variant: it replaces '+' with '-', '/' with '_', and omits '=' padding, so it can be used in query strings and paths without escaping.

Does it handle Unicode?

Yes. Text is encoded as UTF-8 before Base64, so emoji and non-Latin characters round-trip correctly.

Is it safe to paste sensitive data?

Encoding happens entirely in your browser; nothing is uploaded. That said, Base64 is encoding, not encryption — it is not a way to keep data secret.