Developer

URL Generator

Encode text for safe URL usage or decode URL encoded values for reading, API tests, links and query strings.

Conversion happens locally in your browser. No link or parameter is sent to servers.

Result

Local processing: this tool does not send, save or log your input.

Developer
Mode
Encoding type
Use component for query string parameters. Use full URL to preserve characters such as : / ? & =.
Enter input and click Convert URL.

Quick answer

This generator encodes special characters for safe URL usage and decodes URL encoded text back to readable form. It accepts full links, parameters, query strings and API text values.

How to use the URL generator

Choose encode or decode, select component or full URL, paste the input and click convert. Then copy the result for links, requests, documentation or tests.

Available options

Component mode uses encodeURIComponent/decodeURIComponent, ideal for parameters. Full URL mode uses encodeURI/decodeURI, preserving the structure of complete links.

How conversion works

URL encoding replaces special characters with percent-encoded sequences, such as a space becoming %20. This prevents accents, spaces and symbols from breaking links or parameters.

Practical example

Input: Salvador BA. In component mode, the output is Salvador%20BA. When decoded, the text returns to Salvador BA.

How to interpret and reuse the result

Use the result in query strings, API parameters, redirects and shareable links. URL encoding does not encrypt data; it only makes characters safe for transport in URLs.

Useful tips

For parameter values, prefer component mode. For a complete URL, prefer full URL mode. If percent signs are incomplete, decoding may fail.

Frequently asked questions

What is the difference between component and full URL encoding?

Component mode encodes almost all special characters and is ideal for parameter values. Full URL mode preserves structural characters such as :, /, ?, &, =.

Is URL encoding encryption?

No. URL encoding is reversible and only transports special characters safely inside URLs.

Are my links sent to a server?

No. Conversion happens in your browser and the page does not send the input to servers.

Why does a space become %20?

Spaces need a safe representation in URLs. In some form contexts, spaces may also appear as +.