Base64 Encode / Decode
Encode text to Base64, or decode it back.
Escape special characters so a URL survives transport intact.
URL (percent) encoding turns special characters into %XX form so the URL transmits safely. Encode: escapes with encodeURIComponent Decode: restores with decodeURIComponent Letters, digits and the safe characters -_.!~*'() are preserved
Percent-encodes with encodeURIComponent semantics, so reserved characters such as /, :, ?, &, = and # are escaped — right for query values and path segments.
Spaces become %20 and never +; decoding does not turn + back into a space either.
Chinese text and emoji are converted to UTF-8 bytes before escaping, so the link means the same thing in every browser.
Encode and decode update live in both directions as you paste.
Everything runs locally, so links carrying tokens or parameters are not sent anywhere.
Paste the value to process
Use it on a query value or a path segment, not on a complete URL in the encode direction.
Switch direction
Encode and decode sit at the top; decode is for reading %XX sequences back from logs or API output.
Check the reserved characters
If :// and ? in a full URL were escaped too, split the URL into its parts and encode each one separately.
Copy the result
One button for the escaped string.
Spaces become %20. A + means form encoding (application/x-www-form-urlencoded); this tool also leaves + as a literal plus when decoding.
URLs only allow ASCII-safe characters, so non-ASCII text is turned into UTF-8 bytes and escaped — otherwise browsers disagree about what the link means.
Not recommended. This tool follows encodeURIComponent, which escapes ://, /, ?, & and = as well; encode the protocol, path and parameter values separately.
Yes, as long as the input is valid percent-encoding; a broken % or non-hex digits raise an error instead of guessing.
Encode text to Base64, or decode it back.
Produce URL-safe Base64 without padding characters.
Encode or decode text using the Base32 alphabet.
Encode or decode numbers and text in Base36.
Encode or decode with Base58, the alphabet Bitcoin addresses use.
Turn text into its 0 and 1 representation.