URL Encoder & Decoder

Encode query parameters and decode messy URLs.

Free
Every tool runs inside your browser; no data is ever sent to our servers.

About URL Encoder & Decoder

URLs accept only a limited character set; spaces, non-Latin letters and symbols like ampersand or equals must be percent-encoded or the link breaks. This tool does exactly what encodeURIComponent does in JavaScript.

How to use URL Encoder & Decoder

  1. 1

    Enter the URL or parameter you want encoded.

  2. 2

    Press encode to convert special characters to percent form.

  3. 3

    Choose decode to read an already-encoded URL.

  4. 4

    Use the output in your code or address bar.

Frequently asked questions

What is the difference between encoding a full URL and a parameter?

Encoding a full URL also converts the structural colons and slashes, which breaks the link. Normally you should encode only parameter values.

Should a space become %20 or a plus sign?

Always %20 in the path. The plus sign only means space inside the query string under legacy form encoding.

Do non-Latin URLs work?

Yes. Browsers send them percent-encoded but display them readably. When sharing elsewhere, the encoded version is the safer form to paste.

Your next project with ServerNet

Free tools and hosting for your projects

ServerNet also provides website hosting alongside these everyday tools. If you are building a website, explore the plans and features.