Base64 Encode / Decode

Encode and decode UTF-8 text as Base64 or Base64URL. Live conversion, MIME line wrap, byte stats, and hex view — entirely in the browser.

PrivateIn your browserInstantUnlimited

27 characters

40 characters · 29 bytes

How it works

1

Choose encode or decode

Encode turns UTF-8 text into Base64. Decode reverses Base64 (including data: URIs and Base64URL) back to text.

2

Set options

URL-safe swaps +/ for -_ and drops padding. Wrap lines inserts 76-character MIME breaks on encode. Live updates as you type.

3

Copy, download, or inspect

Copy or download the result. On decode, hex shows the raw bytes. Swap moves output to input and flips direction.

What is Base64?

Base64 represents binary data as ASCII using 64 characters. This tool encodes and decodes UTF-8 text as standard Base64 or Base64URL, with optional MIME wrapping and a hex view of decoded bytes. Everything runs in your browser; Easy24 does not receive your input.

Why use this tool

  • UTF-8 Base64 encode and decode
  • Base64URL (URL-safe) mode
  • MIME 76-character line wrap
  • Live mode, swap, and sample
  • Byte stats and hex of decoded data
  • Unlimited use — no daily cap

Questions

What does Base64 Encode / Decode do?

It converts UTF-8 text to Base64 and back. Useful for embedding binary-safe text in JSON, HTML, or URLs.

What is Base64URL?

A URL-safe alphabet that uses - and _ instead of + and /, usually without = padding. Enable URL-safe for JWTs and query strings.

Can it decode a data URI?

Yes. Paste a data:...;base64,... string; the tool strips the prefix and decodes the payload.

What is MIME line wrap?

RFC 2045 often wraps Base64 at 76 characters per line. Turn on Wrap lines when a mail or MIME consumer expects that format.

Is my text sent to a server?

No. Encoding and decoding run entirely in this tab.

Is there a daily limit?

No. This tool has no daily cap.

Do I need an account?

No. Open the page and use it.

Does it work on a phone?

Yes. It runs in the mobile browser.

If Easy24 helped, buy a coffee

Tools stay free in your browser. One-time thanks via Kreosus. Turkish cards work.

Buy a coffee

Similar Convert tools

See all