ToolSprinkle.

Base64 encoder & decoder

Encode Unicode text as standard Base64 or decode it as UTF-8. Check emoji examples, padding and invalid text locally in your browser.

From input to insight.
PROCESSED ON YOUR DEVICE

Ready when you are.

◎ No uploads. Your input stays here.↗ Free to use. No account needed.⌘ / Ctrl + Enter to run

A worked example

Using the default settings. You can try the same input in the workspace.

Input / settings

Hello, world! 🌍

Expected result

SGVsbG8sIHdvcmxkISDwn4yN
A LITTLE GUIDANCE

How to use Base64 encoder & decoder

Choose Encode for readable text or Decode for standard Base64, paste your input and select Run tool. Copy or download the text result. Encoding uses UTF-8 bytes, not one byte per character.

Good to know

Text only: no binary-file upload, image/data-URL output or Base64URL mode. Decoding rejects invalid UTF-8. Base64 does not encrypt or protect secrets.

A few quick answers.

Does Base64 encrypt my text?

No. Base64 is a reversible encoding, not encryption. Text is encoded as UTF-8; decoding rejects byte sequences that are not valid UTF-8 text.

Is my input sent to a server?

No. This tool processes your input in your browser. We don't store your text, files or results. Standard website access logs are separate; read our privacy notes.

Can I use it for free?

Yes. No account, subscription or usage credits are required.

How do I keep my result?

Use Copy or Download after running the tool. Inputs are not saved automatically and disappear when you leave or refresh the page.

Base64 text, bytes and common errors

Unicode becomes UTF-8 bytes first

In Encode mode, café becomes Y2Fmw6k= and 🌍 becomes 8J+MjQ==. Switch to Decode to recover the original text. The emoji is four UTF-8 bytes, not a single byte. Base64 output is generally about one third longer than the input byte sequence, with padding where needed; it is not compression.

Standard Base64 is not Base64URL

This tool uses the standard alphabet with + and / and trailing = padding. Base64URL uses - and _ instead and often omits padding; JWT segments commonly use that variant. There is no Base64URL mode here: do not assume a token segment will decode. A data: URL prefix is not Base64 data either.

Padding, whitespace and invalid text

The decoder removes whitespace before decoding, so wrapped Base64 text is accepted. Valid unpadded input such as Y2Fm can also decode, but arbitrary missing or extra characters are not repaired. /w== represents a byte that is not valid UTF-8 and is rejected. A valid binary Base64 payload therefore need not be valid text for this tool.

Encoding does not hide information

Anyone can reverse Base64 without a key. Do not use it as password protection, encryption or anonymization. Use the URL component encoder when embedding standard Base64 in a query value so that +, / and = are escaped for that context. Tool input stays local, but copied or shared output still contains your original information.

Choose the encoding for your destination: Base64 text representation, URL parameter values or HTML text escaping. These are not interchangeable security controls. Copy the result before switching tools; input is not transferred automatically.

Keep your flow going.

More developer tools ↗

What would you like to do?

↑ ↓ Navigate · Enter Open · Esc Close. Switching tools clears unsaved input.