Tool 04

URL Encoder / Decoder

Encode query parameters, full URLs, or multi-line values. Decode percent-encoded strings instantly.

URL Tool

Encode and Decode URLs

Works with query strings, path segments, and full URL strings.

Ready
Action
Type

Encodes all characters except A–Z a–z 0–9 - _ . ! ~ * ' ( ). Safe for query params and path segments.

Encoded with encodeURIComponent — safe for query params and path segments.

Enter a URL or text value and click Run.

Help

How to Use the URL Encoder / Decoder

1
Choose Encode or Decode

Encode makes a value safe to include in a URL. Decode converts %XX sequences and + signs back to plain text.

2
Pick the encoding type (encode only)

Component uses encodeURIComponent — encodes everything except A–Z a–z 0–9 - _ . ! ~ * ' ( ). Use this for query param values and path segments. Full URL uses encodeURI — preserves : / ? # & = and other URL structure characters. Use it for complete URL strings.

3
Multi-line input

Each line is processed independently, preserving line order. Useful for batch-encoding a list of query parameter values at once.

4
Copy or chain

Use Copy Output to copy the result, or Use Output as Input to re-encode or decode the output without clearing.

In query strings, + represents a space (application/x-www-form-urlencoded). The decoder handles both %20 and + correctly.
Component (encodeURIComponent)Use for individual query param values, path segments, or any value being embedded inside a URL — encodes @ # $ & + , / : ; = ? [ ].
Full URL (encodeURI)Use for complete URL strings — preserves structural characters like https://, ?key=value, and & separators.
DecodeResolves percent-encoded sequences and + as space. Works on both component and full-URL encoded strings.
Use Output as InputMoves the output back into the input field so you can immediately encode again or verify a round-trip decode.