العربية
Back

Base64 converter: encode and decode text including Arabic, free, no registration

Paste text and get its Base64 encoding instantly, or paste encoded text and decode it. Supports Arabic and all Unicode via UTF-8, with a URL-safe mode. All conversion in your browser.

UTF-8
Arabic and all Unicode, no mojibake
lekando.com
2
two directions: encode and decode on one page
lekando.com
URL
URL-safe mode replaces + and / and strips padding
lekando.com
100%
on your device: nothing sent, nothing stored, no account
lekando.com

Convert text

A technical conversion tool. Encoding is not encryption; do not use it to hide secrets.

Worked example

the word مرحبا in standard mode:

ItemValue
Inputمرحبا
UTF-8 then Base64 encode2YXYsdit2KjYpw==
decoding returns the same text character for characterمرحبا

How it works

  1. Type or paste text in the input box.
  2. Pick encode or decode, and standard or URL-safe mode.
  3. The result appears instantly with input and output lengths, and the copy button places it on your clipboard.
  4. For Arabic we encode to UTF-8 first, then Base64, and reverse when decoding, so no character breaks.
  5. Copy the output or share a link carrying your current mode.

Worth knowing

  1. Base64 is a representation encoding, not encryption: anyone can decode it, so never put passwords or secrets in it.
  2. URL-safe mode replaces + with a dash and / with an underscore and strips trailing =, so the output fits inside links and file names.
  3. If decoded text looks garbled, the input is usually not valid Base64 or a part was cut off.
  4. Input length counts characters, not bytes; Arabic takes two bytes in UTF-8, so the output grows accordingly.

FAQ

Is Base64 secure encryption?

No. It is a data representation encoding only, decodable by anyone without a key. Its purpose is moving text and binary data through text channels, not protection.

Why does Arabic get garbled in other tools?

Because they encode characters directly without converting to UTF-8 first. Here we convert to UTF-8 before encoding and back after decoding, so Arabic always comes out intact.

What is URL-safe mode?

The same encoding with + replaced by a dash, / by an underscore, and trailing = dropped, so links and queries do not break.

Is my text uploaded to a server?

No. All conversion happens in your browser with nothing sent, stored, or registered.