Encode or decode URL components and query strings safely.
URL encoding (percent-encoding) replaces unsafe characters in URLs with a % followed by two hexadecimal digits. Browsers and APIs use it for query parameters, paths, and form data.
This tool applies encodeURIComponent and decodeURIComponent so you can safely prepare or inspect encoded URL fragments.
Paste plain text or an already-encoded URL fragment into the input.
Click Encode to percent-encode the text, or Decode to reverse it.
Copy the result for use in APIs, links, or debugging.
encodeURIComponent encodes more characters and is meant for individual query values. This tool uses encodeURIComponent for safer encoding of arbitrary text.
Yes. This tool is completely free to use with no sign-up, no limits, and no hidden fees.
No. All processing happens entirely in your browser using client-side JavaScript. Your data is never sent to a server or stored anywhere.
Free online utilities for text, code, and more — all running privately in your browser.