Simple online tools for developers, networking, text and conversions.

Developer Tools

Base64 Decoder Examples

Review practical Base64 Decoder examples so you can understand expected input, output, and common patterns faster.

Why examples matter for Base64 Decoder

Use this free Base64 Decoder to convert Base64-encoded text back into readable plain text instantly. It is useful when inspecting API payloads, debugging encoded headers, checking copied tokens, reading encoded JSON strings, and verifying transmitted text during development or testing. Paste a Base64 value to decode it quickly and confirm what the encoded data actually contains.

Example pages are especially useful for developer tools because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.

Base64 Decoder examples

Decode a simple word

Input

SGVsbG8=

Output

Hello

A standard Base64 value decodes back into plain text.

Decode a sentence with spaces

Input

aGVsbG8gd29ybGQ=

Output

hello world

Useful when checking encoded strings copied from scripts or tools.

Decode JSON text

Input

eyJuYW1lIjoiSm9obiIsInJvbGUiOiJhZG1pbiJ9

Output

{"name":"John","role":"admin"}

Helpful when a system stores or transfers JSON as Base64 text.

Decode credentials-like text

Input

dXNlcjpwYXNzd29yZDEyMw==

Output

user:password123

Useful for understanding what was encoded before it was placed into a header or test value.

Decode a URL string stored as Base64

Input

aHR0cHM6Ly9leGFtcGxlLmNvbT9hPTEmYj0y

Output

https://example.com?a=1&b=2

Helpful when debugging encoded links or stored URL strings.

Decode multiline text

Input

bGluZSBvbmUKbGluZSB0d28=

Output

line one
line two

Line breaks are preserved when the value is decoded.

Decode Unicode text

Input

0J/RgNC40LLQtdGC

Output

Привет

Useful for verifying non-English or Unicode strings inside encoded payloads.

Invalid Base64 input

Input

SGVsbG8***

Output

Invalid Base64 input

Decoding fails when the pasted value contains invalid characters or broken formatting.

How to use these examples

  1. Paste the Base64 string into the input box
  2. Click Run Tool to decode the value
  3. Review the decoded text in the output area
  4. If decoding fails, check for invalid characters, truncation, or the wrong Base64 variant
  5. Copy the decoded result or compare it with the original expected text

Common mistakes in sample input

Pasting a value that is not valid Base64

Fix: Check for invalid characters, broken padding, or copied text that is not actually Base64.

Trying to decode Base64 URL with the standard decoder

Fix: Use the Base64 URL decoder if the value uses URL-safe characters like - and _.

The string was truncated when copied

Fix: Copy the full encoded value, including any trailing padding characters if present.

Hidden spaces or line breaks were added to the input

Fix: Trim the input and remove accidental whitespace before decoding.

Assuming decoded output will always be readable text

Fix: Some Base64 values represent binary or structured data, so the result may not be human-readable text.

Next steps

After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.

Run the main tool

Open the main Base64 Decoder page and test your own real input.

Open Base64 Decoder