URL Encoder / Decoder – Encode & Decode URLs Online
URL Encoder / Decoder
Encode and decode URLs, query parameters and Unicode text directly in your browser.
Encode Component: Encodes text for use inside a URL component such as a query value.
Decode Component: Converts percent-encoded URL component data back to normal text.
Encode Full URL: Preserves URL structure while encoding unsafe characters.
Decode Full URL: Decodes percent-encoded parts of a complete URL.
Tip: Use Component mode for individual query parameters and Full URL mode for complete URLs.
Free Online URL Encoder and Decoder
Encode or decode URLs, URL components, query parameters and Unicode text directly in your browser. Choose a specific operation or use Auto Detect, then copy, swap or download the processed result.
How to Use the URL Encoder / Decoder
- Enter a URL, query parameter, Unicode text or percent-encoded value in the input box.
- Choose Auto Detect, Encode Component, Decode Component, Encode Full URL or Decode Full URL.
- Click Process or press Ctrl/Cmd + Enter.
- Review the result and input/output character and byte counts.
- Copy the output, swap the values or download the result as a TXT file.
URL Component vs Full URL Encoding
Component encoding is useful for individual values such as query parameters, while full URL encoding preserves URL structure and encodes unsafe characters. The tool uses the browser's encodeURIComponent, decodeURIComponent, encodeURI and decodeURI functions. Auto Detect checks for percent-encoded data and full URL patterns to select an appropriate operation automatically.
Frequently Asked Questions
What is URL encoding?
URL encoding represents characters in a form that can be safely used in URLs, commonly using percent-encoded sequences such as %20.
Should I use Component or Full URL mode?
Use Component mode for individual query values or text that will be placed inside a URL component. Use Full URL mode when processing a complete URL and you want to preserve its URL structure.
What does Auto Detect do?
Auto Detect checks whether the input appears percent-encoded or looks like a full URL. It then chooses component decoding, full URL encoding or component encoding based on those checks.
Does the tool support Unicode text?
Yes. The tool can process Unicode text with the browser's standard URL encoding and decoding functions.
Can I download the processed result?
Yes. The output can be downloaded as a UTF-8 text file named toolnest-url-result.txt.