About this tool
Encode and decode URL-encoded strings. Handy for auth debugging, test fixtures, and moving data between transport formats like Base64, URL encoding, and tokens.
Select Encode or Decode in the tabs. Paste a query fragment or full component into Input. Example — Percent-encode a query fragment: try `q=hello world&tag=a+b` and expect something like `q%3Dhello%20world%26tag%3Da%2Bb`.
Encodes the whole string as one component — it will also encode `=` and `&` separators. See also: Base64 Encoder/Decoder, and HTML Entity Encoder/Decoder. Runs in your browser — nothing you paste gets uploaded.
How to use
- Select Encode or Decode in the tabs.
- Paste a query fragment or full component into Input.
- Click Encode for percent-encoding, or Decode to reverse `encodeURIComponent` output.
- Copy Output into a URL builder or logs.
Example
Percent-encode a query fragment
Input
q=hello world&tag=a+b
Output
q%3Dhello%20world%26tag%3Da%2Bb
Limitations
- Encodes the whole string as one component — it will also encode `=` and `&` separators.
- Does not parse or rebuild full URLs; use the URL Parser for structure.
- Invalid `%` sequences fail on decode rather than silently passing through.
Related guides
1Related tools
2Frequently asked questions
What does the URL Encoder/Decoder do?
Encode and decode URL-encoded strings. Runs in your browser — no install, no account.
How do I use the URL Encoder/Decoder?
Select Encode or Decode in the tabs. Paste a query fragment or full component into Input. Click Encode for percent-encoding, or Decode to reverse `encodeURIComponent` output. Copy Output into a URL builder or logs.
Is the URL Encoder/Decoder free?
Yes. No signup, no usage limits, no paywall.
Does the URL Encoder/Decoder upload my data?
No. Processing happens locally in JavaScript. Your input is not uploaded, stored, or logged.
What are the limitations of the URL Encoder/Decoder?
Encodes the whole string as one component — it will also encode `=` and `&` separators. Does not parse or rebuild full URLs; use the URL Parser for structure. Invalid `%` sequences fail on decode rather than silently passing through.