Base64 Encode / Decode

Convert text (including Urdu/Arabic) to Base64 and back.

Also called: Base64 converter, Base64 decoder, Base64 encoder.

FreeNo sign-upRuns in your browser
DEVELOPER

Base64 Encode / Decode

Convert text (including Urdu/Arabic) to Base64 and back.

Runs locally in your browser
Ready. Fill in the fields above, then press Run tool.
Privacy note: this tool runs in your browser, so the text you enter stays on your device.

Find a tool

Loading tools…

Watch: how to use the Base64 Encode / Decode (14 seconds)

Recorded on a phone, steps written on screen, no sound.

About the Base64 Encode / Decode

Convert text to Base64 and back. Urdu, Arabic and emoji work correctly because the text is encoded as UTF-8 first. Base64 is used in emails, data URLs, API keys and configuration files.

Base64 is an encoding, not encryption: anyone can decode it, so do not use it to hide passwords.

How to use the Base64 Encode / Decode

  1. Enter your textType or paste your text.
  2. Pick the optionsaction (the defaults suit most uses).
  3. Press Run toolThe result appears right under the button.
  4. Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.

This tool works inside your browser: what you enter stays on your device.

Example

The result the Base64 Encode / Decode gives for a short sample note that contains a date, an e-mail address, a web address, a phone number and prices (produced by the tool itself).

Action
Encode

Result:

Q2Fmw6kgT2zDqSBvcGVuZWQgb24gMTIgTWFyY2ggMjAyNSBpbiBMYWhvcmUuCkVtYWlsIGhlbGxvQGV4YW1wbGUuY29tIG9yIHZpc2l0IGh0dHBzOi8vZXhhbXBsZS5jb20vbWVudSBmb3IgdGhlIG1lbnUuCkNhbGwgKzkyIDMwMCAxMjM0NTY3IHRvIG9yZGVyOyBkZWxpdmVyeSBpcyBmcmVlIG92ZXIgMTUwMCBydXBlZXMuClRoZSBjYWbDqSBzZXJ2ZXMgMyBraW5kcyBvZiBjb2ZmZWUgYW5kIDIga2luZHMgb2YgdGVhLg==

Good to know

What you need
You type or choose: Input text
Where it runs
In your browser, on your device.
Cost
Free, no sign-up.

Questions

Is Base64 secure?

No. It only changes how data is written; anyone can decode it.

How do I turn an image into Base64?

Use Image to Base64.

More tools in Developer

See all Developer tools