Base64 to ASCII
Decode a Base64 string back to its original ASCII text. Ideal for reading HTTP Basic Auth headers, inspecting encoded API tokens, and debugging configuration values that were Base64-encoded before storage.
Last updated: May 28, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Base64 to ASCII?
Base64 to ASCII decoding reverses the encoding process: it takes the 64-character ASCII representation and recovers the original bytes as readable text. This operation is essential when debugging authentication headers, inspecting JWT payloads (the header and payload sections are Base64url-encoded), and reading encoded config values from environment files.
ASCII is the 128-character range covering English letters, digits, and standard punctuation. When a Base64 string encodes ASCII content, decoding it produces clean, readable text without any binary garbage. This tool makes that process one click.
How to Use Base64 to ASCII
Paste the Base64 string into the input field
Click "Decode to ASCII" to recover the original text
Enable URL-safe mode if the string uses - and _ instead of + and /
Copy the decoded result with the copy button
Common Use Cases
- Developers decoding the Authorization header value to read the username:password credential block.
- Engineers inspecting Base64-encoded API tokens to verify the payload matches expectations.
- Security analysts decoding encoded strings found in logs, config files, or network captures.
- QA testers checking that an ASCII payload encodes and decodes correctly through a round trip.
- DevOps engineers reading Base64-encoded Kubernetes secrets or environment variable values.
Example Input and Output
Decoding an HTTP Basic Auth header credential block back to the original username:password pair.
ZGVwbG95LWJvdDpnaF90b2tlbl9hYmMxMjNYWVo=deploy-bot:gh_token_abc123XYZAlways use HTTPS
Base64-encoded credentials in Authorization headers are trivially reversible. Always use HTTPS so headers are encrypted in transit.
JWT payloads
JWT payloads use Base64url encoding (URL-safe variant, no padding). Enable URL-safe mode and paste the middle segment (between the two dots) to inspect the payload.
Frequently Asked Questions
How do I decode an HTTP Basic Auth header?
Copy the Base64 value after "Basic " in the Authorization header, paste it here, and click Decode. The result will be "username:password".
What if my Base64 string ends without = padding?
Some systems strip the trailing = padding. If you get an invalid Base64 error, try appending one or two = characters to the end of the string and decode again.
What is URL-safe Base64?
URL-safe Base64 uses - instead of + and _ instead of / so the string can appear in URLs without percent-encoding. Enable URL-safe mode if your string contains those characters.
Can I decode Base64 that encodes binary or UTF-8 data?
This tool decodes Base64 and displays the result as text. If the original data was binary, the output may contain unreadable characters. For UTF-8 encoded content, use the Base64 to Text tool instead.
Is my data sent to a server?
No. Decoding runs entirely in your browser. Nothing is transmitted.
Related Tools
ASCII to Base64
Encode ASCII text strings to Base64. Commonly used for HTTP headers, API tokens, and config values.
Base64 to Text
Decode Base64 strings back to plain text. Handles UTF-8, URL-safe Base64, and broken padding.
Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 to plain text — with URL-safe mode, auto-detect, and size stats.
JWT Decoder
Decode and inspect JSON Web Tokens (JWT) without validation.
URL Encoder/Decoder
Encode and decode URL strings with special characters.
Hash Generator
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes from text.

