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.

Percent-encode text and query values, decode percent-encoded strings.

Runs in your browser

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

What does this tool encode?

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.

Why does decode sometimes fail?

Decoding fails when the input contains malformed percent-encoded sequences such as incomplete or invalid % values. In that case the tool shows a validation message instead of returning broken output.

Can I use it for full URLs?

Yes, but remember that this v1 encodes or decodes the entire input as one string. That is often useful for redirects or nested URLs, but if you only want to encode one parameter value, paste only that value.

Is any data sent to the server?

No. The tool works entirely in your browser. Nothing is submitted to a backend service.

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

Related guides