Developer tool

URL Encoder & Decoder

Encode a single URL component such as a query value, or decode an already percent-encoded component.

Private by designRuns in your browser
Recent tools
Ctrl / ⌘ + Enter to run

Loading workspace…

Preparing the controls for this tool. Your files have not been selected or uploaded.
QUICK START

How to use URL Encoder & Decoder

  1. Paste the component to encode or the percent-encoded value to decode.
  2. Choose Encode or Decode and process the input.
  3. Review characters and use the result in the correct URL position. Do not blindly encode an entire assembled URL.
BEFORE YOU BEGIN

What to expect

Processing happens in your browser. Paste input, choose options, then create your result.

Local processing

Your files and inputs are processed in your browser and are not uploaded. Download or copy results before leaving. Normal site and library requests still reach the hosting service.

Query-value example

The component hello world & more encodes to hello%20world%20%26%20more. This prevents the ampersand from acting as a query separator when the value is assembled into a URL.

Text: hello world & more
Encoded: hello%20world%20%26%20more

Component encoding and form encoding

The tool uses encodeURIComponent and decodeURIComponent. It is not a full URL parser. Decoding a plus sign leaves it as plus; form-url-encoded payloads may instead use plus for a space. Malformed percent escapes are rejected, and encoding twice can produce %25 sequences.

HELP & TROUBLESHOOTING

Frequently asked questions

Why did a URL’s slashes and question mark change?

You encoded the entire URL as a component. Normally encode individual values, then assemble the URL with its structural separators.

Why does + not become a space?

decodeURIComponent does not apply form-urlencoded plus-to-space handling. Check whether the source uses URL components or HTML form encoding.

Where is my input processed?

Files and inputs are processed locally in your browser and are not uploaded. The hosting service receives normal website and library requests. Download or copy results before leaving.