JWT Decoder
Decode JWT header, payload, and expiry—including Bearer tokens—on your device.
- On your device
- No signup
Private on your device
Your information stays on your device and is not uploaded.
Decode JWT header, payload, and expiry—including Bearer tokens—on your device.
Format, minify, and validate JSON with optional key sorting.
Generate SHA-256, SHA-384, and SHA-512 hashes.
Encode or decode URL-safe text.
Encode or decode HTML entities.
Generate UUIDs for apps, tests, and databases.
Compare two JSON documents and list structural differences.
Format, minify, and validate XML with readable indentation.
Convert text to Base64 or decode Base64 back to text. Encoding uses UTF-8, and decoding accepts standard or URL-safe Base64. Results update live and stay on your device.
Base64 encodes binary data as ASCII-safe text for JSON payloads, data URLs, and email MIME parts. It is encoding, not encryption—anyone with the string can decode it. Do not Base64-wrap secrets thinking they are hidden.
When decoding, invalid padding or non-Base64 characters produce errors rather than partial output. Strip whitespace from pasted strings if decoding fails unexpectedly.
Data URLs can exceed size limits in HTML attributes—host the asset normally when the encoded string grows beyond a few kilobytes.
URL-safe Base64 variants replace `+` and `/` with `-` and `_`—confirm which alphabet your API expects before pasting into production configs.
When debugging JWTs, decode the header and payload segments here, then use JWT Decoder for a structured claim view with expiry highlighting.
Binary files pasted as text will corrupt on encode—use File Checksum or a dedicated tool when the input is not UTF-8 text.
Line-wrapped PEM certificates decode cleanly after you remove header/footer lines and join the body into one continuous string.
Padding `=` characters at the end are required for some decoders—re-add them if you trimmed trailing equals signs while copying.
1. Choose Encode or Decode mode. 2. Paste input text or Base64 into the editor. 3. Read the output in the results panel. 4. Use Copy to copy the result, or Use result as input to chain operations. 5. Click Clear to start over.
Example: encode Hello gives SGVsbG8=; decoding SGVsbG8= returns Hello.
Encodes plain text to Base64 or decodes Base64 back to text on your device using standard encoding. Large inputs are processed locally.
Results are based on the inputs you provide and may not cover every edge case. This tool is for general use and is not professional advice.
Your data stays on your device and is not uploaded.
Explore focused guides that reuse this base64 encoder & decoder with different examples and FAQs.
FAQ
Yes. Text is encoded as UTF-8 before Base64 conversion, so characters like accents and emoji are supported.
Yes. Decoding accepts standard Base64 and URL-safe variants that use - and _ instead of + and /. Whitespace is ignored.
No. Your information stays on your device and is not saved.
This tool is one step in a longer job. Jump straight to your step or open the full workflow guide.
Page last reviewed: