Skip to content
My Tiny Utils

Search tools

Type to find a tool, then press Enter to open it.

URL Encoder / Decoder

Percent-encode or decode URL text with a clear choice between encodeURIComponent and encodeURI, plus + as space handling for query strings.

Processed locally in your browser — nothing is uploaded.

encodeURIComponent escapes everything with special meaning in a URL, including / ? & = # and :. Use it for a single value — a query parameter, a path segment — never a whole URL.

0 characters

Encoded

Output appears here…

About URL Encoder / Decoder

Encode or decode percent-escaped URL text — and know which encoder you actually need. encodeURIComponent escapes everything with special meaning (/, ?, &, =, #) and is right for a single value like a query parameter; encodeURI leaves URL structure intact and is right for a complete URL. The tool explains the active mode so you don't mix them up.

A query-string option treats + as a space, matching how HTML forms and many APIs encode application/x-www-form-urlencoded data.

Common uses

  • Encode a parameter value that contains &, =, or non-ASCII text
  • Decode a percent-encoded URL copied from a log or email
  • Check why a redirect URL is double-encoded

Example

Input

name=Ada Lovelace & co?

Output

name%3DAda%20Lovelace%20%26%20co%3F