Skip to main content
ConduitTools by ConduitCode Labs

Developer

Base64 Encoder / Decoder

Waiting for text
InputPaste text or Base64, or drop a file
ResultUpdates as you type
.txt
Nothing to convert yet

Paste some text and choose Encode, or paste Base64 and choose Decode.

0 BInput size
—Output size

Turn text into Base64 or decode Base64 back into readable text. It handles accents and emoji correctly and understands URL-safe Base64.

  • Free
  • No sign-up
  • Runs in your browser

How to use this tool

  1. Type or paste text (to encode) or Base64 (to decode), drop or Import a text file, or press Sample.

  2. Choose Encode or Decode. When encoding, turn on URL-safe if the result goes in a URL or a token: it uses - and _ instead of + and /. Decoding accepts URL-safe Base64, data URIs, line breaks and missing = padding. Text is handled as UTF-8, so accents and emoji work.

  3. The result and the sizes update as you type. Copy result, Download it, or use Use as input to convert it again.

How to use this tool
  1. Type or paste text (to encode) or Base64 (to decode), drop or Import a text file, or press Sample.

  2. Choose Encode or Decode. When encoding, turn on URL-safe if the result goes in a URL or a token: it uses - and _ instead of + and /. Decoding accepts URL-safe Base64, data URIs, line breaks and missing = padding. Text is handled as UTF-8, so accents and emoji work.

  3. The result and the sizes update as you type. Copy result, Download it, or use Use as input to convert it again.

Was this tool helpful?

Suggest an improvement

Help keep ConduitTools free

Every tool here is free, private and built by a solo developer. If this one saved you time, a small tip keeps the site running and new tools coming.

What it handles

Base64 that works with real-world text.

Developers use Base64 to move data through systems that only accept plain text: email, JSON, URLs, HTTP headers, and config files.

Unicode-safe
Text is converted as UTF-8, so accented letters, symbols, and emoji encode and decode correctly instead of breaking.
URL-safe option
Switch on URL-safe to swap + and / for - and _ and drop the padding, the form used in JWTs and web addresses. Decoding accepts either form.
Forgiving input
Line breaks, spaces, missing padding, and a leading data: prefix are all handled, so pasted Base64 usually just works.

Frequently asked questions

Is Base64 encryption?

No. Base64 is an encoding, not a way to protect data. Anyone can decode it instantly, so never rely on it to hide passwords or secrets.

Why does my Base64 end with = signs?

Base64 works in groups of three bytes. When the data does not fill the last group, one or two = characters pad it out. The URL-safe form usually leaves them off.

Why is the encoded result bigger?

Base64 represents every three bytes as four characters, so the output is about a third larger than the input.

Can I decode an image or a file?

This tool shows text. If the Base64 decodes to something that is not text, such as an image, it tells you so rather than showing garbled characters.

Keyboard shortcuts

Press navigation keys one after the other. Single-key shortcuts work outside text fields.

Ctrl+K
Search all tools
/
Focus directory search, or search all tools on other pages
GthenH
Go to the homepage
GthenT
Browse all tools
GthenF
Open FAQs
Ctrl+Enter
Copy or download the result
Ctrl+Shift+Enter
Generate a new password or new text
?
Show this list
Esc
Close a dialog or menu
↑↓
Move through tool search results
Enter
Open the selected search result