Boneyard Tools

Base64 Decode

Paste a Base64 string and this tool turns it straight back into readable text as you type. It reads multi-byte UTF-8 correctly, so accents and emoji survive the round trip, and it accepts the base64url variant that uses '-' and '_' with the padding removed. Nothing is uploaded, so you can safely paste tokens and config values.

How to decode Base64

  1. Paste your Base64 or base64url string into the 'Base64 input' box, or click 'Load sample' to try one.
  2. Watch the decoded text appear live in the 'Decoded text' box as you type or paste.
  3. Ignore any surrounding line breaks or spaces; they are stripped before decoding.
  4. If a red error appears, check for characters outside the Base64 alphabet or a truncated string.
  5. Use the character count to confirm the length, then click Copy or Download to save it as decoded.txt.

Examples

Decode a plain greeting

aGVsbG8=
hello

Decode UTF-8 text with an emoji

SGVsbG8sIFdvcmxkISDwn5qA
Hello, World! πŸš€

Decode base64url with no padding

PGh0bWw-Pw
<html>?

Frequently asked questions

How does Base64 decoding work?

Base64 packs three bytes into four text characters drawn from a 64-symbol alphabet. Decoding reverses that: every group of four characters rebuilds three original bytes, which are then read as UTF-8 text to give you back the source string.

What is the difference between Base64 and base64url?

They encode the same bytes but pick different symbols for the last two alphabet slots. Standard Base64 uses '+' and '/', while base64url swaps in '-' and '_' so the string is safe inside URLs and filenames, and it often drops the '=' padding.

Does it support base64url input?

Yes. The tool converts '-' back to '+' and '_' back to '/', then re-adds the '=' padding to reach a multiple of four before decoding, so you can paste a base64url token exactly as you found it.

What happens if decoding fails?

If the string contains characters outside the Base64 alphabet, or its length cannot be re-padded to a multiple of four, a red error message appears and the output stays empty. Check for stray characters, missing pieces, or text that was never Base64 in the first place.

Does it handle emoji and accented characters?

Yes. The decoded bytes are passed through a real UTF-8 decoder, so multi-byte sequences like Γ©, Γ±, or πŸš€ reassemble correctly instead of turning into garbled symbols.

Do line breaks or spaces in the input matter?

No. Leading and trailing whitespace is trimmed and any internal spaces, tabs, or line breaks are removed before decoding, so Base64 that was wrapped across several lines still decodes cleanly.

Is Base64 secure or encrypted?

No. Base64 is an encoding, not encryption. Anyone can reverse it in seconds, exactly as this tool does, so never rely on it to hide passwords, keys, or other secrets.

Can I decode a Base64 image or PDF here?

This tool decodes to text and shows the result in a textarea, so it suits strings that represent UTF-8 text such as JSON, tokens, or messages. Binary payloads like images decode to raw bytes that will not render as readable characters.

Is my data private?

Yes. Decoding happens entirely in your browser using built-in JavaScript, and nothing you paste is ever sent to a server, so sensitive tokens never leave your device.

Learn more

Related tools