Base64 Decode

Decode Base64 encoded data

Enter Base64 encoded data to decode back to text

What is Base64 Decoding?

Base64 decoding converts Base64-encoded ASCII text back into its original format. This tool properly handles UTF-8 decoding, ensuring international characters and special symbols are decoded correctly.

How to Use

  1. Paste the Base64 encoded data into the input field
  2. Click "Decode from Base64"
  3. View the decoded text and copy it if needed

Example

Input (Base64):

SGVsbG8sIFdvcmxkIQ==

Output (Decoded):

Hello, World!

Whitespace Handling

This tool automatically removes whitespace (spaces, line breaks, tabs) from Base64 input, so you can paste Base64 data with line breaks without issues.

Error Detection

If the input is not valid Base64 data, the tool will display a clear error message. Common issues include:

  • Invalid characters (Base64 only uses A-Z, a-z, 0-9, +, /, =)
  • Incorrect padding (= characters)
  • Corrupted or truncated data

Frequently Asked Questions

What can I decode with this tool?

You can decode any Base64-encoded text data, including encoded strings, credentials, JSON data, and other text content. Note that this tool is designed for text data - binary files like images may not display correctly.

Why am I getting an "Invalid Base64" error?

This error occurs when the input contains invalid characters or incorrect formatting. Make sure you've copied the complete Base64 string, including any padding (= characters) at the end.

Can I decode Base64 with line breaks?

Yes! This tool automatically removes whitespace, so Base64 data with line breaks (common in PEM files and email) will decode correctly.

Is my data sent to a server?

No, all decoding happens in your browser. Your data never leaves your device, ensuring complete privacy and security.