Tools · Text · Base64 encode and decode
Base64 encode and decode
Encode text to Base64 or decode Base64 back to text, live, with full support for Arabic and other non-Latin scripts.
Runs fully in your browser. Nothing is uploaded.
Your file is ready.
Try a different file, or try again.
How it works
Type or paste your text, or paste Base64 to decode it.
Choose Encode or Decode.
Copy the result.
Frequently asked questions
No. Everything happens in your browser.
No. It's a reversible encoding anyone can decode - not a way to protect a secret.
Yes, fully, in both directions. A naive Base64 implementation breaks on Arabic input; this one is built to encode and decode it correctly.
The RFC 4648 variant used in JWTs and URLs, which replaces + and / with - and _ and drops the padding. Turn it on with the checkbox.
A practical 2,000,000-character guard. This tool is for text values like API keys or small payloads - encoding a whole file is a separate tool.
Comments