Why use this URL encoder?
- Encode plain text for a URL component with standard percent-encoding.
- Decode encoded strings locally and decide whether plus should be treated as space.
- Parse a full URL into components, then edit the query parameter list and rebuild it.
- Catch likely double-encoding before it turns `%20` into `%2520`.
Text converter
Encode or decode text
The share URL stores only lightweight settings such as decode mode and plus-handling. It does not include the text you enter.
Full URL parser
Parse and rebuild a full URL
Paste a full URL or a relative path, split it into components, then edit query parameters and rebuild the final string.
Decoded path preview: /
Raw query string: —
Editable query parameters
| Key | Value |
|---|
When to use percent-encoding vs Base64
Percent-encoding is for URL components. It escapes spaces, slashes, unicode characters, and other reserved bytes so they survive inside a path, query string, or fragment. Base64 is for turning bytes into text, usually for transport or embedding, and it makes the payload longer.
Query parameter behavior
Query strings often follow form-style rules where + represents a space. Plain decodeURIComponent does not apply that conversion, so this page lets you opt into it when you are debugging query or form data rather than raw URL components.
Typical double-encoding mistakes
If a value is already encoded and you encode it again, %20 becomes %2520. That usually happens when an already escaped value passes through another encoding layer. If you see many %25 sequences, check whether the value was encoded twice.
Frequently asked questions
What is the difference between URL encoding and Base64?
URL encoding escapes unsafe characters so text can live inside a URL component. Base64 converts bytes into a larger text alphabet. They solve different transport problems and are not interchangeable.
Why do I sometimes see + instead of %20?
In form-style query strings, plus is often used as a space. Plain decodeURIComponent does not change plus into space, so this page lets you enable that behavior when you are decoding query or form data.
What is double-encoding?
Double-encoding happens when already encoded text is encoded again. For example, %20 becomes %2520 because the percent sign itself gets escaped. That can break links and API requests.
Does this tool upload my URL or query string?
No. Encoding, decoding, parsing, and rebuilding happen locally in your browser. The share URL stores settings only, not the text or URL you enter.
Related
Comments (optional)
To reduce load, comments are fetched only when needed.