Base64 Encode & Decode
Turn text or any file into Base64 (or a data: URI), and turn Base64 back into text or the original file. Arabic text, emoji and binary files all work.
🔒 Your files are processed on your device and are never uploaded.
How to use
- 1Choose Encode or Decode.
- 2Type or paste text, or pick a file to encode.
- 3Copy or download the result. Decoded images and files can be downloaded too.
Frequently asked questions
What is Base64?
A way to write any data using only 64 safe characters (A–Z, a–z, 0–9, + and /), so it can travel inside JSON, e-mail, HTML or URLs. It is encoding, not encryption.
What is URL-safe Base64?
It uses - and _ instead of + and / and drops the = padding, so the result can be put in a web address or a JWT.
Is my data sent anywhere?
No. Everything runs in your browser, so your data stays on your device.
More free tools
JSON Formatter & ValidatorFormat, validate and minify JSON.Hash Generator (MD5, SHA-256…)MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or files.Regex TesterTest regular expressions with live highlighting.JWT DecoderDecode JSON Web Tokens and check expiry and signature.URL Encode & DecodePercent-encode or decode text and URLs.UUID GeneratorGenerate random UUIDs (v4) or time-ordered UUIDs (v7).