Premium tools, free for everyone. Most run right in your browser.

OpenMultiURL

Base64 Encoder and Decoder

Encode text to Base64 or decode Base64 back to text. Emoji and non-English letters work, there is a URL-safe mode for tokens, and you can turn a small file into a data URL.

  • Free, no subscriptions
  • Runs in your browser
  • Checked by AK Shine
See how it works before you use your own.

The file is read in your browser and never uploaded. Up to 5 MB.

What is the Base64 Encoder and Decoder?

The Base64 Encoder and Decoder converts text to Base64 and back, with full support for emoji and non-English letters. It offers URL-safe Base64 for tokens and links, and can turn a small file into a data URL for embedding in HTML or CSS. Developers, testers and support teams use it when working with APIs, email content, JSON payloads and configuration values.

Who it is for: Developers, testers and support teams working with APIs, tokens, emails and data URLs.

How to use the Base64 Encoder and Decoder

  1. Choose Encode or Decode.
  2. Paste your text or Base64.
  3. Copy the result, or press Use result as input to reverse it.

Why use it

  • Text both waysEncode and decode with one switch, and swap the result back in.
  • UTF-8 correctEmoji and every language survive the round trip.
  • URL-safe modeGet Base64 that works in links and tokens.
  • Files to data URLsTurn a small file into Base64 without uploading it.

At a glance

What you put in
Text, Base64, or a file up to 5 MB
What you get
Base64 (standard or URL-safe), decoded text, or a data URL
Limits
Files up to 5 MB; decoding expects text, not images
Privacy
Runs in your browser. Nothing you enter is uploaded or stored.
Price
Free for everyone. No subscriptions, no payments, no watermark.
Works offline
Yes, once the page has loaded
Last checked
by AK Shine

Worked example

Input
Hello, Lagos
Result
SGVsbG8sIExhZ29z

Decode SGVsbG8sIExhZ29z and you get the text back.

When to use something else

  • To read the contents of a login token, a JWT decoder splits and decodes all three parts for you.
  • Base64 makes files about a third bigger, so it is a poor way to store large images.

Questions people ask

Is Base64 encryption?

No. Anyone can decode Base64. It only turns data into plain letters so it can travel safely in text, such as email or JSON. Never use it to hide passwords.

What is URL-safe Base64?

It swaps + for - and / for _ and drops the = padding, so the result can sit in a link or a token like a JWT without breaking.

Why does decoding say my text is invalid?

The input has characters Base64 does not use, is cut short, or holds binary data such as an image rather than text.

Why does Base64 end with = signs?

Base64 works in blocks of 3 bytes. When the last block is short, = signs pad it out so the length is a multiple of 4.

Can I decode a Base64 image here?

Paste a data URL and it is recognised, but the result is binary, not text. Open the data URL in a new browser tab to see the image.

Next, you might need