Percent-encode URLs or query string values for safe use in links, forms, and APIs. Choose between encoding a full URL or just a query string value. See also: URL Decoder.
Runs in your browser · No data sent anywhereBoth represent a space in URLs, but in different contexts. %20 works everywhere. The + sign is only valid in query strings (application/x-www-form-urlencoded format) and won't be decoded as a space in URL paths.
Unreserved characters never need encoding: A–Z, a–z, 0–9, hyphen (-), underscore (_), period (.), and tilde (~).
URLs can only contain certain safe characters. Special characters in parameter values (like & or = or non-ASCII text) must be percent-encoded to avoid being misinterpreted as URL syntax.