tooloora

Base64 Encode & Decode — local, UTF-8 safe

Encode text to Base64 or decode it back, instantly and entirely in your browser — nothing is uploaded.

Runs locally — nothing is uploaded

Runs locally in your browser — no upload.

Encode and decode Base64 in your browser

Paste text to convert it to Base64, or paste Base64 to decode it back to text — instantly, with the result updating as you type. Switch direction with one click, toggle URL-safe output, and copy the result. Everything runs in your browser: no upload, no signup, and it works offline.

What is Base64 and when do you need it?

Base64 encodes data using 64 printable ASCII characters so it can pass safely through systems built for text — email attachments, data: URLs, JSON and JWT tokens, HTTP Basic Auth. Because every 3 bytes become 4 characters, Base64 output is about 33% larger than the input (RFC 4648). It is a transport format, not compression and not security.

Encode vs. decode, and URL-safe mode

  • Encode turns plain text into Base64.
  • Decode turns Base64 back into the original text.
  • URL-safe swaps + and / for - and _ and removes = padding, so the value works inside URLs and filenames.

The decoder accepts both standard and URL-safe input, ignores line breaks and fixes missing padding automatically.

Base64 is not encryption

This is worth repeating: Base64 offers zero confidentiality. Anyone can decode it in a second. Never store passwords, API keys or personal data as "protected" just because they're Base64 — use real encryption. Base64 only makes binary data text-safe.

Correct with UTF-8

Text is read as UTF-8 before encoding, so umlauts (ä, ö, ü), accents and emoji survive the round trip exactly. The whole process happens locally with your device's own resources — your text is never sent anywhere.

Frequently asked questions

What is Base64 encoding?

Base64 represents binary or text data using 64 printable ASCII characters (A–Z, a–z, 0–9, + and /). It lets data that might otherwise be altered — like an image or text with special characters — travel safely through systems that only handle text, such as email or JSON. It typically makes data about 33% larger.

Is Base64 encryption?

No. Base64 is encoding, not encryption — it provides no security at all. Anyone can decode it back instantly. Never use it to protect passwords or sensitive data; use real encryption for that.

Are my text and files uploaded?

No. Encoding and decoding run entirely in your browser using your device. Nothing is sent to a server, so even confidential text stays on your machine — it even works offline.

What does the URL-safe option do?

URL-safe Base64 replaces the + and / characters with - and _ and drops the trailing = padding, so the result can be used directly in URLs and filenames without further escaping.

Does it handle emojis and umlauts correctly?

Yes. The text is read as UTF-8 before encoding, so characters like ä, ö, ü and emoji round-trip exactly. Many naive Base64 tools corrupt these — this one does not.