Updated 23 August 2026
A URL encoder replaces unsafe characters with %NN codes. A decoder turns those codes back into readable text. You need that whenever a space, quote, ampersand, or non-English character has to live inside an address.
Why you need a URL encoder and decoder
Browsers are forgiving. A crawler or a mail client may not be. A search phrase with a space, a redirect that contains another URL, or a campaign value with a plus sign will split a query string if you leave it raw. Percent-encoding is the rule in RFC 3986. This page applies that rule to one line or a list, without an account.
Decoding is the other half of the job. Logs, ad exports, and copied links often arrive already encoded. You cannot judge a landing page if you cannot read the parameter.
Who this tool is for
Developers use it when they are not in an editor that calls encodeURIComponent for them. SEOs use it when a localized slug or a filter URL has to stay valid. Analysts use decode on crawler and log lines. Media buyers use it when a destination URL in an ad manager looks like soup. Students use it the first time a homework link dies because of a space.
How to use this tool
- Paste a URL, a single value, or one value per line on the left.
- Leave Keep URL structure off to encode a component (a keyword, a title, a nested URL). Turn it on to encode a full address while leaving
:/?#readable. - Turn on Spaces as + only if the source used form encoding.
- Click Encode or Decode. Each line is handled on its own.
- Copy the right box. If a decode looks wrong, the line may already have been decoded, or it may not be valid percent-encoding. Invalid sequences are left as they are.
How this fits SEO and marketing work
Published hrefs should be valid. Campaign parameters, site search pages, and translated paths are the usual failures. Encode the value you are inserting, not a tag you already built. A crawler may still fetch a sloppy URL, but you do not want two versions of the same address competing in logs and reports.
In ads and analytics, destination URLs are matched as strings. An extra encode turns %20 into %2520 and the click lands somewhere else, or nowhere. If you already see percent codes, decode first and look at the result before you encode again.
Other tools people use around this job
Encoding does not replace a campaign URL builder in Google Ads, Meta, or GA4. It also does not replace Search Console’s URL Inspection, a log parser, or the encode functions in your language of choice. Those products decide what the parameters mean. This page only makes the string legal or readable. A spreadsheet is still the usual place to keep a long list before you convert it.