URL Encode
Encode / decode URL components.
A free URL encoder / decoder with both component-level (encodeURIComponent) and full-URL (encodeURI) modes, an option to encode spaces as +, and a breakdown of a full URL into its protocol, host, port, path, hash and query parameters. Everything runs locally — nothing is uploaded.
How to use
- Choose Encode or Decode.
- Toggle component-level (which also encodes reserved characters like ? & =) or full-URL encoding as needed.
- Paste text or a URL; the result updates live on the right.
- If the input is a full URL, its structure and parameters are shown below.
FAQ
- What is the difference between encodeURIComponent and encodeURI?
- Component-level uses encodeURIComponent and escapes reserved characters like ? & = / : #, which is right for a single query-parameter value; full uses encodeURI and keeps those characters, which is right for encoding a complete, valid URL.
- Why encode spaces as +?
- In application/x-www-form-urlencoded (HTML form query strings) a space is conventionally a +; elsewhere (e.g. in a path) it is %20. Pick what matches your context.
- Is my data uploaded?
- No. Encoding, decoding and URL parsing all happen locally in your browser.
Related tools
- 2FA Authenticator — End-to-end encrypted 2FA vault with live codes.
- Password Vault — Zero-knowledge vault for site logins; survives password changes.
- Data Format — Convert between JSON, YAML, TOML, CSV.
- Base64 — Encode / decode text & files in Base64.
- JWT Decode — Inspect JWT header & payload.
- Regex Tester — Live-highlight matches, debug regex.