I inbrowser.sh

URL Encoder & Decoder

Percent-encode and decode URL components — instantly, in your browser.

100% client-side No upload Free · no signup

Quick answer

URL Encode runs locally in your browser for quick developer formatting, conversion or inspection work. URL encoding (percent-encoding) escapes characters that are not safe inside URLs. Use it for query strings, path segments, and form data.

What is URL Encode?

URL encoding (percent-encoding) escapes characters that are not safe inside URLs. Use it for query strings, path segments, and form data.

How to use

  1. Paste a URL or text segment.
  2. Pick Encode or Decode.
  3. Copy the output.

Example

Use this sample to confirm what URL Encode does before pasting your own data.

Input
hello world?q=inbrowser
Output
hello%20world%3Fq%3Dinbrowser

When to use it

Use URL Encode for quick local checks, debugging, documentation prep, and one-off conversions where opening a full IDE or command-line workflow would be slower. For production-critical data, always review the output before committing or shipping it.

Frequently asked questions

What is the difference between encodeURI and encodeURIComponent?

encodeURI preserves reserved characters like : / ? & =. encodeURIComponent escapes them, which is what you want for a single query parameter.

Does this run on the server?

No. It uses the browser native encodeURIComponent / decodeURIComponent.