Base64 Decode

Decode Base64 strings to plain text — paste, decode, and copy instantly.

Input Base64
Output Text
Decoded text will appear here...
info

About Base64 Decode

Base64 Decode is a free online tool that converts Base64-encoded strings back into their original readable text. Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters. You will encounter it in JWT payloads, HTTP Basic Auth headers, data URIs embedded in CSS or HTML, MIME email attachments, and API responses that wrap binary content for safe transport over text-based protocols.

The most common reason to need a decoder is inspection: you receive an opaque Base64 string in a log file, an HTTP header, or a configuration value and you need to see what is actually inside it. This tool gives you the plain text in one click so you can verify a JWT claim, check an encoded credential, or confirm that a data URI contains what you expect. It handles the full Base64 alphabet including the standard characters A–Z, a–z, 0–9, +, and /, plus the = padding characters.

Every decoding operation runs entirely in your browser using the native atob() function combined with a TextDecoder, which correctly reconstructs multi-byte UTF-8 characters. No data leaves your device, there is no account required, and there is no usage limit — making it safe to paste tokens, credentials, or any sensitive encoded payload you need to inspect.

star

Key Features

check_circle

UTF-8 safe decoding

Uses atob() paired with TextDecoder so multi-byte characters — accented letters, CJK text, emojis — are reconstructed correctly rather than becoming garbled mojibake.

check_circle

100% client-side

Decoding runs in your browser only. Nothing is uploaded to a server, so you can safely paste JWTs, API keys, or any encoded secrets.

check_circle

Clear error messages

Invalid padding, illegal characters, and corrupted strings all produce a specific error message so you know exactly what is wrong with the input.

check_circle

Monospace split-pane view

Input and output sit side by side in a fixed-height code editor layout, making it easy to compare the encoded string with its decoded result.

check_circle

One-click copy

Copy the decoded text to your clipboard instantly with a single button, ready to paste into your terminal, code editor, or document.

check_circle

No size limits

Because processing is local, you can decode large payloads — long JWTs, encoded file blobs, or multiline data URIs — without hitting any server-side restrictions.

help

How to Use

01

Paste Base64

Paste your Base64-encoded string into the input pane.

02

Decode

Click "Decode" to convert the Base64 string back to readable text.

03

Copy Result

Use the copy button to grab your decoded text.

code_blocks

Example

A Base64 string is fed into the decoder and the original UTF-8 text is recovered in the output pane.

Base64 input
SGVsbG8sIFdvcmxkIQ==
Decoded text output
Hello, World!
lightbulb

Common Use Cases

  • arrow_circle_right

    Inspecting JWT payloads

    The middle segment of a JSON Web Token is a Base64url-encoded JSON object. Paste it here to read the claims — user ID, expiry, roles — without needing a dedicated JWT library or debugger.

  • arrow_circle_right

    Decoding HTTP Basic Auth headers

    HTTP Basic Auth encodes credentials as Base64 in the Authorization header. Decode the value to verify which username and password are being sent during debugging or integration testing.

  • arrow_circle_right

    Reading embedded data URIs

    Data URIs in CSS or HTML encode images and fonts as Base64. Decode the payload to confirm the file type prefix or check that the data is not truncated before embedding it.

  • arrow_circle_right

    Decoding API response fields

    Some REST and GraphQL APIs return binary content — thumbnails, PDFs, certificates — as Base64 fields. Decode them to read metadata or confirm the content before writing it to disk.

  • arrow_circle_right

    Verifying configuration values

    Kubernetes secrets, CI environment variables, and cloud config stores often Base64-encode sensitive values. Decode them to confirm the correct value was set without running a full pipeline.

quiz

Frequently Asked Questions

What is Base64 Decode? expand_more
Base64 Decode is a free online tool that converts Base64-encoded strings back into their original plain text form. It reverses the Base64 encoding process, transforming the 64-character ASCII representation back into readable text.
Does it support Unicode and emojis? expand_more
Yes. The tool uses atob() combined with TextDecoder, which correctly reconstructs multi-byte UTF-8 sequences. Text in any language, emojis, and accented characters that were Base64-encoded with proper UTF-8 encoding will all decode correctly.
Is my data secure? expand_more
Yes. All decoding happens entirely in your browser using JavaScript. No data is sent to any server, ensuring your encoded data remains completely private and secure. You can safely paste tokens, credentials, and secrets.
What if my Base64 string is invalid? expand_more
If the input is not valid Base64, the tool will display a clear error message. Common issues include incorrect padding (missing = signs), invalid characters outside the Base64 alphabet, or corrupted data. The error tells you exactly what went wrong.
How is Base64 Decode different from Base64 Encode? expand_more
Base64 Encode takes plain text and produces a Base64 string — useful when you need to embed binary data in a text context. Base64 Decode does the reverse: it takes an existing Base64 string and recovers the original text. Use Decode when you already have an encoded value and need to read it.
How is this different from URL Decode? expand_more
URL Decode handles percent-encoding (e.g. %20 for a space, %3A for a colon) used in query strings and URI components. Base64 Decode handles the entirely different Base64 alphabet (A-Z, a-z, 0-9, +, /) used in tokens, headers, and data URIs. The two encodings are unrelated — use the right tool for the format you have.
Can I decode a JWT with this tool? expand_more
You can decode the payload segment of a JWT (the middle part, between the two dots) to read the JSON claims. Paste only that segment without the dots. Note that this tool does not verify the JWT signature — it only decodes the Base64url-encoded content so you can inspect it.
Is there a limit on input size? expand_more
There is no fixed limit. Because everything runs locally in your browser, you can decode large strings — long tokens, encoded file contents, or multiline payloads — with performance depending only on your device.