Component versus full URL
Encode a query value with component mode, or preserve an entire URL's separators with full URL mode.
Encoding & Decoding
Encode and decode URL components without a network request.
Component mode encodes reserved characters such as /, ?, &, =, and # so the result can safely fit inside one URL part.
Component mode encodes reserved characters such as /, ?, &, =, and # so the result can safely fit inside one URL part.
Encode a query value with component mode, or preserve an entire URL's separators with full URL mode.
Encode or decode UTF-8 URL components and complete URLs locally with clear handling for reserved separators, plus signs, existing escapes, and malformed percent sequences.