What this URL tool does
The utility uses the platform’s encodeURI, encodeURIComponent, decodeURI and decodeURIComponent behavior to transform URLs or individual values without making a network request.
How to use it
- Choose Full URI for a complete URL or URI component for a single value.
- Enter text and select Encode or Decode.
- Use Swap to move output back into the input for another operation.
- Copy or download the result when it is ready.
Practical example
Input: hello world & tools
Component output: hello%20world%20%26%20toolsFull URI versus component encoding
Full URI encoding preserves structural characters such as colon, slash, question mark and ampersand. Component encoding escapes those separators because a component is treated as data rather than URL structure.
Common mistakes
- Encoding an already encoded value twice
- Using full-URI mode for an individual query value
- Decoding malformed percent sequences
- Assuming encoding validates that a destination exists
Methodology and limitations
Native JavaScript URL encoding APIs are standards-based and handle Unicode through UTF-8 percent sequences. This is a text transformer, not a URL parser, redirect checker or security scanner.