Free tools · Data

Text in, text out.

Base64, URL-safe Base64 and percent-encoding both directions, converted as you type — computed on your device, never uploaded.

Encode · decode · convert

Text in, text out.

Base64, URL-safe Base64 and percent-encoding both directions, converted as you type. Your text never leaves this page.

Converted text appears here with byte counts.

How it works

Three steps, all on your device.

The same byte-table arithmetic behind every auth header and data URI, running here without accounts or uploads.

01

Pick a direction

Text to Base64, Base64 back to text, the URL-safe alphabet without padding, or percent-encoding for query strings and links.

02

Type or paste

Conversion runs on every keystroke with byte counts on both sides — or load the per-operation sample to see the shape instantly.

03

Copy it out

Take tokens, data URIs and encoded parameters straight into configs, headers and tickets.

Questions

Encoding text, answered.

If you manage servers by hand, see the engineering services behind this tools series.

Is my data uploaded anywhere?

No. Encoding and decoding run entirely in your browser over explicit byte tables — the page makes no network requests with your data. You can verify this in your browser's developer tools or disconnect from the network after the page loads.

What is the difference between Base64 and Base64URL?

Standard Base64 uses + and / with = padding, which break URLs and filenames. Base64URL swaps in - and _ and drops the padding. Tokens and JWT parts use the URL-safe form; email attachments and data URIs usually use standard.

Does it handle emoji and non-English text?

Yes — text is encoded as UTF-8 first, so any Unicode survives the round trip. Decoding bytes that are not valid UTF-8 fails with a clear error instead of mojibake.

Is Base64 encryption?

No. It is an encoding anyone can reverse — it hides nothing. Never treat Base64 output as protected; encrypt first if secrecy matters.

Why did my input fail to decode?

Usually stray characters, a truncated copy-paste, or padding in the middle. Whitespace is ignored, both +// and -_ spellings are accepted, but anything outside the alphabet is rejected with an explanation.