LESS FRICTION. MORE DONE.

Encode and decode Base64

Convert UTF-8 text or files to Base64, and decode them back. Supports URL-safe encoding and image data URIs.

Processed on your device
Getting your tool ready…
Loading total…
THREE SIMPLE STEPS

From open to done.

01

Choose your input

Choose Text or File and select Encode or Decode.

02

Make it yours

Enter text, select a file, or paste encoded content.

03

Take it with you

Convert, then copy text or download the decoded file.

A FEW GOOD POINTERS

Get a better result.

Base64 is reversible encoding, not encryption. UTF-8 is used so non-English text and emoji can round-trip. URL-safe mode replaces plus and slash with hyphen and underscore. A data URI includes a MIME type before the encoded payload.

A practical example

The text Hello encodes to SGVsbG8=. An image data URI begins with data:image/png;base64, followed by the encoded bytes.

Made for your everyday work

Processed entirely on your device

Free to use, with no signup

Copy or download your result

Works in a modern browser


When this helps

Inspect a payload, embed a small image in a stylesheet, or move binary data through a text-only format. Base64 typically increases binary data size by about one third.

GOOD QUESTIONS

A little more clarity.

What to know before you go.

Does it support emoji?

Yes. Text is encoded and decoded using UTF-8 rather than the older Latin-1-only approach.

Can I decode an image?

Yes. Use File mode and paste a data URI or Base64. Download the decoded bytes.

Is Base64 a secure way to hide secrets?

No. Anyone can decode it. Use encryption when confidentiality is needed.

Are URL-safe values accepted?

Yes. Hyphens and underscores are normalized, and valid missing padding is restored.

KEEP YOUR FLOW

Your next useful thing.

More developer tools