Base64 Encoder & Decoder
Encode and decode text with Base64.
- On your device
- No signup
Private on your device
Your information stays on your device and is not uploaded.
Encode and decode text with Base64.
Format, minify, and validate JSON with optional key sorting.
Compare two JSON documents and list structural differences.
Format, minify, and validate XML with readable indentation.
Compare two XML documents and list structural differences.
Decode JWT header, payload, and expiry—including Bearer tokens—on your device.
Generate UUIDs for apps, tests, and databases.
Create compact short links for long URLs.
Encode text for use in URLs or decode URL-encoded strings. Processing uses standard browser encoding APIs.
1. Paste the string. 2. Choose Encode or Decode. 3. Copy the result. 4. For full URLs, encode only the query/path segments that need it. 5. Re-decode to verify round-trips.
Example 1: hello world → hello%20world. Example 2: name=R&D → name%3DR%26D so the ampersand does not split query parameters.
Encodes or decodes URL components with encodeURIComponent / decodeURIComponent semantics—safe for query values, not for encoding an entire URL including ://.
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.
Uses standard percent-encoding for reserved characters. Spaces become %20 (not +); + in decode is treated as a plus character unless you convert form-encoding separately.
FAQ
Encoding uses encodeURIComponent, which encodes more characters than encodeURI.
Encode query values and other components that may contain spaces or reserved characters so the URL parser does not split fields incorrectly.
No. Encode components. Encoding https:// and host slashes breaks the URL.
Yes. Encoding and decoding run in your browser; strings are not uploaded for this tool.
Page last reviewed: