Process URL value
Enter a single component or form/query value, not a full URL to navigate. Choose encode or decode and the correct plus-sign convention. Maximum input is 100,000 UTF-16 units.
Result
Enter your inputs and run the tool.
Developer
Encode or decode URL component values locally, with explicit form/query plus-sign semantics and validation of malformed percent escapes and Unicode.
Enter a single component or form/query value, not a full URL to navigate. Choose encode or decode and the correct plus-sign convention. Maximum input is 100,000 UTF-16 units.
Enter your inputs and run the tool.
Component mode uses encodeURIComponent and decodeURIComponent. Form/query-value mode uses application/x-www-form-urlencoded escaping: spaces become +; literal plus becomes %2B; only ASCII letters, digits, *, -, . and _ remain unescaped. Decoding requires valid percent-encoded UTF-8. No URL is opened, fetched or executed; results are inert text.
Component output is a%20b%2Bc. Form/query-value output is a+b%2Bc.
Component output remains a+b. Form/query-value output is a b. Malformed %GG is rejected.
This handles one value, not a complete query-string parser or whole-URL validator. Unpaired Unicode surrogates and malformed UTF-8 are rejected, rather than silently replaced. Encoding is not encryption or HTML sanitization. Empty input produces empty output.
For corrections or suggestions, contact UtilTrove with a non-sensitive example.