URL Encode / Decode

Percent-encode or decode text, or break a full URL into its parts.

Private by design. Your input never leaves this browser. Conversions run locally on your device.

What this tool handles

  • Detects what to do with the input: an absolute URL is inspected, text carrying percent escapes is decoded, anything else is encoded.
  • Encoding uses encodeURIComponent for a single value or encodeURI for a whole URL.
  • "+" can be treated as a space when decoding, which is the form-submission rule.
  • Inspecting a URL breaks out protocol, host, port, path, query parameters and hash.

Example

Input

hello world&lang=cs

Output

hello%20world%26lang%3Dcs

Related tools

  • JWT Decoder — Decode a JSON Web Token header and payload locally. Signatures are not verified.
  • Base64 Encode / Decode — Encode and decode Base64 and Base64URL with correct UTF-8 handling.
  • cURL → code — Translate a cURL command into fetch, axios or Python requests code.
  • Hash Generator — Compute SHA-256, SHA-384, SHA-512, SHA-1 and MD5 digests of text or a file.

Browse all 25 tools