URL Encoder, Decoder, and Analyzer

Encode or decode a URL and separate it into its protocol, host name, port, path, query parameters, and fragment.

Files and content are processed locally in your browser and are not uploaded to our server.

About this tool

Convert special characters into a form that can be used in a URL, or turn percent-encoded text back into readable content. A complete URL can also be separated into its protocol, host name, port, path, query parameters, and fragment.

How to use

  1. Encode or decode a complete URL or one part of it
  2. Display query parameters as key-value pairs
  3. Separate a URL into its main parts
  4. Copy each result separately
  5. Choose whether plus signs represent spaces
  6. Paste URL or text: Enter a full URL or a string to encode or decode.
  7. Choose operation: Encode, decode, or separate the URL into parts.
  8. Copy parts: Copy encoded values or individual URL segments.

Examples

Limitations

FAQ

encodeURI vs encodeURIComponent?
This tool focuses on component encoding suitable for query values; reserved URL structure characters use different encoding rules.
Why is space shown as + or %20?
Application/x-www-form-urlencoded often uses + for space; enable the option matching your server.
Can I parse fragment (#) content?
Yes. URL fragments appear in a dedicated field when present.