Home / Apps / Developer / Base64 Encoder & Decoder
Developer tool · Free · No signup

Encode and decode Base64 instantly.

Convert UTF-8 text to Base64 or decode Base64 back to readable text. Use URL-safe mode, clean copied whitespace, repair missing padding, and inspect useful size metadata.

✓ Encoder and decoder ✓ UTF-8 and emoji support ✓ URL-safe mode ✓ Private browser processing

Base64 conversion workspace

Choose a mode, enter your data and convert it immediately.

Ready
Plain text input 0 characters
Base64 output 0 characters
Base64 explained

Use Base64 correctly in APIs, files and web applications.

Base64 represents data using printable ASCII characters. It is useful when binary or Unicode data must travel through a text-based format such as JSON, XML, email or a data URL.

Standard and URL-safe Base64

Standard Base64 can include plus and slash characters. URL-safe Base64 replaces them with hyphen and underscore so the result is easier to place inside URLs.

Why the output is larger

Base64 normally increases data size by roughly one-third because three source bytes are represented using four Base64 characters.

UTF-8 support

This page converts text through UTF-8 bytes, allowing non-English text, accented characters and emoji to be encoded and decoded safely.

Common uses

  • API payloads and test fixtures
  • Data URLs for small assets
  • Binary values inside JSON
  • Email transfer formats
  • Configuration and environment values
Frequently asked questions

Base64 questions answered.

Does Base64 encrypt data?

No. Base64 is reversible encoding and provides no secrecy.

Can this encode emoji and non-English text?

Yes. This implementation uses UTF-8 bytes for encoding and decoding.

What is URL-safe Base64?

It uses hyphen and underscore instead of plus and slash, making the value friendlier for URLs.

Why do some Base64 values end with equals signs?

Equals signs are padding characters used when the final byte group is incomplete.