Encode and decode URLs
Encoding and decoding happen entirely in-browser.
Why this tool works well
- Supports full URL mode and component mode.
- Switch between encode and decode instantly.
- Works locally with no server round-trips.
- When building query strings manually for API testing, encode each parameter value separately before joining them. Encoding the entire URL at once can encode the delimiters, breaking the structure.
- Decode a URL you received to inspect its parameters when the raw string is difficult to read. Percent-encoded values in analytics URLs or redirect chains become readable instantly.
Use cases
Query parameter prep
Encode values before building links.
Broken link debugging
Decode escaped URLs during diagnostics.
API tooling
Prepare encoded paths for test requests.
Practical examples
Component encode
Input: a b&c
Output: a%20b%26c
Decode URI
Input: hello%20world
Output: hello world
Suggested workflow
FAQ
What is full URL mode?
It uses encodeURI/decodeURI to preserve URL structure characters.
What is component mode?
It uses encodeURIComponent/decodeURIComponent for value-level encoding.
What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL but preserves characters like / : ? & that have structural meaning. encodeURIComponent encodes everything including those characters and is used for individual parameter values.
Why does a space sometimes appear as + and sometimes as %20?
Both are valid in different contexts. %20 is the standard percent-encoding for a space. The + sign is used as a space only in application/x-www-form-urlencoded format, commonly seen in form submissions.
Related tools
Continue with closely related tools for faster multi-step workflows.
// developer tools
Base64 Encoder & Decoder Online — Free Tool | ToolBite
Encode or decode Base64 strings instantly in your browser. Free Base64 encoder and decoder — no upload, no account, 100% client-side. Try it on ToolBite.
// developer tools
JWT Decoder Online — Decode JSON Web Tokens Free | ToolBite
Decode and inspect JWT tokens instantly in your browser. Read header, payload, and signature without sending data to any server. Free JWT decoder tool.
// developer tools
CSV to JSON Converter Online — Free Tool | ToolBite
Convert CSV data to JSON format instantly in your browser. Paste your spreadsheet, configure options, and copy the result. Free CSV to JSON converter.
// developer tools
JSON Formatter & Validator Online — Free Tool | ToolBite
Format, beautify, minify, and validate JSON instantly in your browser. No data sent to servers. Free JSON formatter with syntax highlighting. Try it now.
Recommended next actions
High-utility picks across categories based on current intent.
// developer tools
Base64 Encoder & Decoder Online — Free Tool | ToolBite
Encode or decode Base64 strings instantly in your browser. Free Base64 encoder and decoder — no upload, no account, 100% client-side. Try it on ToolBite.
// developer tools
JWT Decoder Online — Decode JSON Web Tokens Free | ToolBite
Decode and inspect JWT tokens instantly in your browser. Read header, payload, and signature without sending data to any server. Free JWT decoder tool.
// developer tools
CSV to JSON Converter Online — Free Tool | ToolBite
Convert CSV data to JSON format instantly in your browser. Paste your spreadsheet, configure options, and copy the result. Free CSV to JSON converter.
// developer tools
JSON Formatter & Validator Online — Free Tool | ToolBite
Format, beautify, minify, and validate JSON instantly in your browser. No data sent to servers. Free JSON formatter with syntax highlighting. Try it now.