URL Encoder / Decoder

Encode or decode URL components and full URIs

Loading tool…

About URL Encoder & Decoder

URL Encoder & Decoder handles percent-encoding for URL components and complete URIs, with validation that helps distinguish text from an already structured URL.

Encoding the wrong part of a URL can change its meaning. A query value, path segment, fragment, and complete URI have different boundaries, so choose the mode that matches where the value will be inserted.

How to use this developer tool

  1. Choose component mode or complete-URI mode.
  2. Paste the value and decide whether you are encoding or decoding it.
  3. Review reserved characters such as ?, &, /, +, and # before copying the result into your application.

Privacy and data handling

URL values are processed locally in the browser. The tool does not request the destination URL, so it cannot tell you whether a link is reachable or safe to open.

Related developer tools

Frequently asked questions

Why should I encode a query parameter separately?

Encoding a parameter value separately preserves the separators used by the complete URL and prevents user data from changing the query structure.

What does a plus sign mean?

Its meaning depends on the context. Form encoding often treats plus as a space, while general URI processing can treat it as a literal plus.

Does decoding a URL make it safe?

No. Decoding only changes its representation. Validate the destination and treat untrusted URLs as potentially unsafe.