UTF-8 SupportFile Mode100% Private

How It Works

1

Choose Mode

Select Encode or Decode, then Text or File mode.

2

Enter Data

Type text or upload a file to process.

3

Get Result

Copy the result or download the decoded file.

Frequently Asked Questions

What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that converts binary data into a string of ASCII characters. It is commonly used to embed images in HTML/CSS, transmit data over text-based protocols like email, and encode API keys.
Does Base64 support Unicode and UTF-8?
Yes. This tool uses the TextEncoder API to properly handle UTF-8 text before encoding to Base64, so characters from any language are supported.
Can I encode files?
Yes. Switch to File mode to encode any file to its Base64 data URI representation. This is useful for embedding images or other assets directly in web pages.
Share:

About Base64

What this tool does

Encoder and decoder tools convert data between Base64, URL-encoded, HTML entities, ROT13, Morse code, binary, hex, and JWT formats. They handle both encoding (plain to encoded) and decoding (encoded back to plain).

Why use this tool

Web developers constantly encounter encoded data in APIs, URLs, tokens, and configuration files. Being able to decode a JWT payload or Base64 string instantly saves round-trips to the terminal or Stack Overflow.

How it works

Each tool applies a specific encoding algorithm to your input bytes. Base64 maps every 3 bytes to 4 ASCII characters. URL encoding escapes special characters with percent-hex pairs. JWT decoding splits the token at dots and Base64-decodes each segment.

Pro tip

When debugging JWTs, always check the "exp" (expiration) claim first. Most authentication bugs come from expired tokens, and the decoded timestamp is easy to overlook.

Love this tool? Explore 12467+ more

Free online tools for images, PDFs, text, code, and more. All running in your browser.

Explore All Tools