Base64 Converter
Encode text to Base64 and back with proper Arabic (UTF-8) support, turn any file into Base64 or a data URL, and decode Base64 back into a file. All in your browser.
Free, no sign-up
Your data stays on your device
Works offline after first open
The tool
Loading the tool…
How to use
- Pick “Text” or “File” from the tabs.
- For text: choose Encode or Decode and type or paste; the result updates as you type.
- For files: drop a file to get Base64 and a data URL, or paste Base64 and download it as a file.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
Frequently asked questions
Is Base64 encryption?
No. Base64 only turns bytes into copyable characters and anyone can decode it. Never use it to hide passwords.
Why does Arabic text give a different result on some sites?
We convert text to UTF-8 bytes first, which is the standard. Some older tools use other encodings, so their output differs.
What is the difference between standard and URL-safe Base64?
URL-safe (base64url) swaps + for - and / for _ and usually drops =. It is used in JWTs and links. Decoding accepts both automatically.
Is there a file size limit?
Up to 50 MB. Base64 is about a third larger than the file, so for big files download the text instead of copying it.
Formulas & sources
Related tools
URL Encoder / DecoderPercent-encode text for URLs (%D8%B3…) or decode encoded links back to readable text, with component, full-URL, form (+), RFC 3986 and encode-all modes. Arabic-safe, with clear error reporting.Text Encoders (Hex, Binary, Unicode…)Convert text to hex, binary, octal, ASCII/decimal codes, Unicode escapes (\u0627, U+0627), Base32 or ROT13, and back again. Arabic is handled correctly through UTF-8.JWT Decoder & VerifierPaste a JWT to see its header and payload neatly, exp/iat/nbf as dates and whether it has expired, and verify the signature with an HMAC secret or a public key (RSA/ECDSA), entirely in your browser.Hash GeneratorCompute MD5, SHA-1, SHA-256, SHA-512 and CRC-32 hashes of any text or file, or an HMAC with a key, and compare against a published checksum to confirm a file is intact. Local, no upload.