Skip to content

Base64 Encoder

Encode text as Base64 (UTF-8 safe), URL-safe or as a data URL

Runs on your device

How to use Base64 Encoder

  1. Type or paste your text into the box, or press Sample to see an example.

  2. Set the options: “URL-safe alphabet”, “Line length”, “Encode each line on its own” and “As a data: URL”. Reset puts them back.

  3. The result updates as you go. Copy it or download it.

About Base64 Encoder

Encode text as Base64 (UTF-8 safe), URL-safe or as a data URL.

Base64 Encoder: common questions

Is Base64 Encoder free?

Yes. There's no sign-up, no limit on how often you use it and no watermark.

Is your text uploaded anywhere?

No. Base64 Encoder works on this device only, so your text stays private. You can even turn off the internet once the page is open.

What can I change?

4 settings, including “URL-safe alphabet”, “Line length”, “Encode each line on its own” and “As a data: URL”. Every setting has a sensible default, and Reset puts them all back.

Does it work on a phone?

Yes, in any current browser on Android, iPhone, iPad and desktop.

More developer tools

All 94 developer tools