Round-trip a text fixture
Decode the received value, compare it to the expected text, then re-encode it and compare normalized Base64.
- Paste the encoded payload
- Review decoded Unicode
- Open Base64 Encoder
- Re-encode and compare
Decode standard Base64 or unpadded Base64URL text locally, normalize whitespace and padding, reject malformed alphabet data, and require the decoded bytes to be valid UTF-8. Useful for developers, analysts, and anyone working with encoded API responses, JWT tokens, or data URLs. Supports both padded and unpadded variants with instant browser-side processing.
Base64 tools
Base64 Input
Drag & drop supported
Decoded text
Decoded output will appear here.
Inspect transport-encoded text with strict UTF-8 decoding: whitespace and URL-safe characters are normalized, invalid Base64 or binary-only payloads produce a clear local error.
Complete a verifiable Base64 UTF-8 Decoder workflow in this browser.
Step 1
Enter a Base64 or Base64URL text payload without a data: URL prefix.
Step 2
Whitespace is removed, - and _ are mapped to the standard alphabet, and required = padding is restored.
Step 3
Malformed alphabet or length data is rejected before decoding; non-UTF-8 bytes produce a separate error.
Step 4
Check invisible whitespace, Unicode punctuation, and line endings against the expected source.
Step 5
Copy the decoded value or download decoded.txt only after confirming that the payload is text.
Consequence: The comma, MIME prefix, and metadata fail the Base64-text validator.
Fix: Use Base64 File Converter for file data URLs or paste only the characters after “;base64,” when the bytes are known to be UTF-8 text.
Consequence: Valid Base64 bytes can still fail because the decoder requires valid UTF-8.
Fix: Use a binary-aware file decoder; this workspace intentionally returns text only.
Consequence: An attacker can change and re-encode Base64 without detection.
Fix: Verify a signature, MAC, or trusted checksum separately when integrity matters.
Decode the received value, compare it to the expected text, then re-encode it and compare normalized Base64.
JWT segments use Base64URL and contain JSON, but decoding alone does not verify a signature.
RFC 4648 Base64 4pyT represents UTF-8 bytes E2 9C 93, which the fatal UTF-8 decoder converts to the single check-mark character.
Base64 can represent any bytes. This workspace only returns text and rejects byte sequences that are not valid UTF-8.
Yes. It maps - and _, removes whitespace, and restores padding before validation.
This editor expects the payload alone and then requires decoded UTF-8 text; an image is binary.
No. Decoding proves only that the representation and UTF-8 bytes are valid, not that the sender is trusted.
Yes. ASCII whitespace is removed before validation.
Use a binary file workflow; Base64 File Converter creates data URLs but this decoder does not reconstruct files.
Normalization, atob byte decoding, and fatal TextDecoder UTF-8 conversion run in this browser. No encoded value or decoded text is uploaded. After static assets are cached the decoder can run offline; clipboard and downloads remain explicit browser actions.