URL encoder and decoder

Encode or decode URL strings, query parameters, and percent-encoded values directly in your browser. This tool is useful when working with redirects, APIs, logs, query strings, and encoded text copied from web tools or scripts.

How to use

  • Paste plain text, a query string, or a percent-encoded value into the input field.
  • Click Encode to convert the input into a URL-safe percent-encoded string.
  • Click Decode to convert encoded input back into readable text.
  • Use Copy output to copy the result, or Clear to reset the tool.

FAQ

Learn more about URL encoding

This tool applies percent-encoding to the full input using browser-native URL encoding logic. It is useful for query parameters, redirect targets, fragments, and other values that need to be safely passed inside URLs.

Practical examples

Plain text input: hello world
Encoded output: hello%20world

Query string input: name=John Doe&city=Rome
Encoded output: name%3DJohn%20Doe%26city%3DRome

Encoded input: https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dtest%2520value
Decoded output: https://example.com/search?q=test%20value

Other tools