URL Encoder / Decoder
Encode text so it's safe to use inside a URL, or decode a URL-encoded string back into readable text.
Your files are processed in your browser and never uploaded to any server.
How to use this tool
- 1Choose Encode or Decode.
- 2Paste your text or URL-encoded string.
- 3The result updates instantly.
- 4Copy the output with one click.
Frequently asked questions
Does this encode full URLs or just parts?+
It encodes the text you provide the same way encodeURIComponent does — encode only the part you're inserting into a URL, not the whole URL with its scheme and slashes.
Spaces, ampersands, and special characters break URLs unless they're properly percent-encoded, which is why query string values need encoding before being appended to a link. This tool encodes text using the same rules as JavaScript's encodeURIComponent, or decodes an already-encoded string back to plain text, which is handy for debugging a redirect URL, a tracking link, or an API query parameter that isn't behaving as expected.