A query value containing a space, an ampersand, or a slash silently truncates a link or splits into a parameter you never meant to send.
- Free
- No signup
- Fast
- Privacy-friendly
Back to Category
Developer tools
URL Encoder Decoder
Text
Use URL Encoder Decoder three ways
The free URL Encoder Decoder on this page works in your browser. The same workflow is available via REST API for apps and via MCP for Cursor, Claude, and other agents — one API key, one plan, one quota. This tool is part of the developer-apis module under Developer Tools.
- Free in browserUse URL Encoder Decoder here — no account required.
- REST APICall from your server with
X-Api-Key. - MCP for agentsConnect Cursor or Claude to ToolYour MCP with the same key.
- 1. Get an API keySign in and open Dashboard → API Keys (works for REST and MCP).
- 2. Call or connectUse the REST API from your server, or paste the MCP URL into your agent config.
- 3. Same qualityOutput matches the free web tool across all three surfaces.
What is URL Encoder Decoder?
A query value containing a space, an ampersand, or a slash silently truncates a link or splits into a parameter you never meant to send. This URL encoder decoder applies component-level percent-encoding — the same semantics as JavaScript's encodeURIComponent — so reserved characters travel as data rather than as structure.
Decoding reverses it, and additionally treats a plus sign as a space so form-encoded strings from logs decode the way a server would read them. Malformed percent sequences fail with a clear error instead of returning half-decoded text. The important limit is in the name: this encodes components. Running a whole URL through it escapes the colon and slashes of the scheme too, which is almost never what you want. When the value you are encoding is itself binary or opaque, Base64 Encoder Decoder is the right neighbour.
Browser use is free and needs no signup. The same job runs over REST at POST https://api.toolyour.com/api/v1/developer-apis/url-encoder-decoder and over MCP at https://api.toolyour.com/mcp — one API key, one shared monthly credit pool, 1 credit per successful call.
What are common questions about URL Encoder Decoder?
Should I encode the whole URL or just the value?
Just the value. Encoding a full URL escapes the scheme separator and slashes, producing a string that no client will resolve.
How is a plus sign handled?
On decode it is treated as a space, matching form-encoded bodies and query strings. On encode, spaces become %20.
What happens with a broken percent sequence?
Decoding fails with an error rather than returning partially decoded text, so you never act on a half-readable value.
What are the key features of URL Encoder Decoder?
Component-level semantics
Form-string friendly decoding
Clear failure on bad input
How do you use URL Encoder Decoder?
Isolate the value
Encode or decode
Reassemble the URL
Why links break without percent-encoding
? starts the query, & separates parameters, # starts the fragment, and / separates path segments. When a value contains one of those characters as data, the parser has no way to tell the difference and reads it as structure instead.
The visible symptoms are familiar. A search term with an ampersand arrives truncated at the ampersand. A redirect target containing its own query string loses everything after the first parameter. A path segment with a slash turns into two segments and returns a 404. Percent-encoding removes the ambiguity by replacing each reserved character with an escape the parser treats as data.Encoding choices across the cluster
%2520 sequences. If you see that, decode until the value stops changing, then encode exactly once.Which core developer tools sit in this cluster?
Where do you browse more developer tools tools?
- Developer Tools tools
Browse the full Developer Tools category on ToolYour.
- Marketing Tools tools
Build UTM links, check ads copy limits, QA email subjects, and calculate ROAS/CPC/CTR — free in the browser; R
- Security Tools tools
Check HTTP security headers, TLS, cookies, JWTs, passwords, hashes, and SPF/DKIM/DMARC — free in the browser;
Related tools
developer tools
Color Converter
Convert a hex, rgb(a), or hsl(a) colour into all four notations at once, preserving alpha.
Freedeveloper tools
JS Minifier
Shrink JavaScript with a lightweight comment and whitespace pass, reporting byte counts and a caveat.
Freedeveloper tools
CSS Minifier
Strip comments and whitespace from CSS and report original versus minified byte counts.
Freedeveloper tools
Cron Expression Parser
Parse a cron expression and list the next eight UTC run times so you can sanity-check a schedule.
Freedeveloper tools
Cron Expression Generator
Build a five-field cron expression from schedule fields and preview the next five run times in UTC.
Freedeveloper tools
Regex Generator
Return a vetted regex preset for email, URL, IPv4, UUID, digit, or slug shapes, each with a stated limitation.
Freedeveloper tools
SQL Validator
Flag empty statements, unbalanced parentheses, stacked statements, and missing SQL verbs without a database.
Freedeveloper tools
SQL Formatter
Reformat SQL with keyword casing and clause line breaks so long queries become reviewable.
Freedeveloper tools
JS Formatter
Pretty-print JavaScript with Prettier and the babel parser, surfacing syntax errors instead of hiding them.
Freedeveloper tools
CSS Formatter
Pretty-print CSS with Prettier for readable stylesheets, cleaner diffs, and easier specificity review.
Freedeveloper tools
HTML Formatter
Pretty-print HTML with Prettier so templates and response bodies become readable and reviewable.
Freedeveloper tools
IP Address Tools
Validate and classify IPv4 or IPv6 strings, including private and loopback ranges, with no external lookup.
Free
Popular in Developer Tools
developer tools
Color Converter
Convert a hex, rgb(a), or hsl(a) colour into all four notations at once, preserving alpha.
Freedeveloper tools
JS Minifier
Shrink JavaScript with a lightweight comment and whitespace pass, reporting byte counts and a caveat.
Freedeveloper tools
CSS Minifier
Strip comments and whitespace from CSS and report original versus minified byte counts.
Freedeveloper tools
Cron Expression Parser
Parse a cron expression and list the next eight UTC run times so you can sanity-check a schedule.
Freedeveloper tools
Cron Expression Generator
Build a five-field cron expression from schedule fields and preview the next five run times in UTC.
Freedeveloper tools
Regex Generator
Return a vetted regex preset for email, URL, IPv4, UUID, digit, or slug shapes, each with a stated limitation.
Freedeveloper tools
SQL Validator
Flag empty statements, unbalanced parentheses, stacked statements, and missing SQL verbs without a database.
Freedeveloper tools
SQL Formatter
Reformat SQL with keyword casing and clause line breaks so long queries become reviewable.
Free
