Skip to content
BrowserUtil

URL Encode / Decode

Encode and decode URLs, query strings, and inspect URL components.

Encode mode:
Text or URI to encode0 Characters · 0 B
Encoded result

How to use

  1. 1 Choose Encode to percent-encode text or Decode to restore the original string.
  2. 2 Select Component mode for query parameter values, or Full URI mode to preserve URL syntax.
  3. 3 Switch to URL Inspector to parse any web address into protocol, host, path, and query parameters.

Features

  • Bidirectional percent-encoding and decoding in real time
  • Component (encodeURIComponent) and Full URI (encodeURI) modes
  • Option to encode spaces as + (application/x-www-form-urlencoded)
  • Strict RFC 3986 mode for reserved characters (!, ', (, ), *)
  • Deep URL Inspector breaking down protocol, host, path, and query params
  • Instant UTF-8 character and byte statistics
  • 100% client-side execution — your URLs and tokens never leave your browser

Frequently asked questions

What is the difference between encodeURI and encodeURIComponent?

encodeURI is designed for complete URLs and preserves protocol delimiters like "https://", "/", "?", and "&". encodeURIComponent encodes every special character, making it safe for query parameter values so they do not break the overall URL structure.

Why are spaces sometimes encoded as %20 and sometimes as +?

%20 is the standard RFC 3986 percent-encoding for URIs. The plus sign (+) is used in HTML form submissions (application/x-www-form-urlencoded). BrowserUtil provides a toggle to support both formats.

Are my query parameters or tokens sent to a server?

No. All processing happens locally in your browser using JavaScript. No URLs, tokens, or personal data are ever uploaded.

Related tools