Kharabeesh
On-device ع

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

  1. Pick “Text” or “File” from the tabs.
  2. For text: choose Encode or Decode and type or paste; the result updates as you type.
  3. 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