Encode special URL characters

For developers placing an address with reserved characters into a link or form, URL Encoder prepares it before transmission.

Encode special characters in a URL and obtain a safe address that can travel through forms and links. No upload or storage is involved.

How to use

  1. Paste the address or text portion you want to encode into the input area.
  2. Choose the right action: simple encoding, full address encoding or form encoding.
  3. Run the encoding and read the resulting value in the output area.
  4. To reverse the operation, paste the encoded value and use the matching decoding action.
  5. Clear the fields before working on another address.

Example

The provided example contains a search address with a space and an ampersand. After encoding, look at how those characters are replaced in the result. Check that separators such as slashes and question marks remain readable.

Input

https://example.com/search?q=summer sale & tea

Output

https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dsummer%20sale%20%26%20tea

Limits and formats

Where processing happens

The work happens in your browser. The address or text you paste stays on your device and is not sent anywhere. You can encode or decode without an account.

Frequently asked questions

Why does my encoded address change so much?

Reserved characters, spaces and accented letters are replaced with address-compatible sequences. If the result looks long, that is often normal for text with several special characters.

Which action should I choose for a form field value?

Use the form encoding action when you are preparing a field value. For a path or a complete address, choose the action that matches that type of address.

Can I decode a value received from a website?

Yes, paste the encoded value and run the decoding action. If the output still looks strange, check that the same encoding was not applied twice.

Tools in the same category