Base64 Encode / Decode

Convert text to Base64 and decode Base64 back to text, with full UTF-8 support. Runs locally in your browser.

Base64 a file — drag & drop or choose a file; or

JWT uses URL-safe Base64 — decode tokens in the JWT decoder · checksums: Hash generator · URL slugs: Slug generator.

How to encode and decode Base64

Type text and click Encode (toggle URL-safe for JWT-style output), or paste Base64 and Decode. Drag a file in to get its Base64, or turn Base64 back into a downloadable file. Full UTF-8 support; everything runs locally.

FAQ

Does it support emoji and non-English text?

Yes. Encoding and decoding are fully UTF-8 safe, so emoji and any language work correctly.

What is URL-safe Base64?

A variant that replaces + and / with - and _ and drops the = padding, so the value is safe in URLs and filenames (used by JWTs). Toggle it on; decoding accepts both variants automatically.

Can I Base64-encode a file?

Yes. Drag a file in to get its Base64 (great for data URLs), or paste Base64 and download it back as a file — all locally, nothing is uploaded.

Is my data uploaded?

No. Everything is processed locally in your browser.

Last updated: