Free Online URL Encoder and Decoder

Encode and decode URL components with HubKit's URL encoding tool. URL encoding (percent-encoding) converts special characters into a format safe for use in URLs and query strings. Essential for building API requests, handling query parameters, and debugging encoded URLs.

How to Use

Paste your URL or text into the input pane. Choose Encode to percent-encode special characters, or Decode to convert percent-encoded strings back to readable text. The result updates instantly.

Features

Frequently Asked Questions

What characters need URL encoding?

Characters like spaces, ampersands (&), equals signs (=), question marks (?), hash symbols (#), and non-ASCII characters must be percent-encoded when used in URLs.

What is the difference between encodeURI and encodeURIComponent?

encodeURI encodes a full URI but preserves characters like : / ? # that have special meaning. encodeURIComponent encodes everything except letters, digits, and - _ . ~ — use it for query parameter values.

Why do I see %20 or + for spaces in URLs?

%20 is the standard URL encoding for a space character. The + sign is an alternative used only in query strings (application/x-www-form-urlencoded). Both represent a space.