Developer & API

URL Encoder & Decoder

Percent-encode or decode URLs and query parameters safely.

Encoded

https%3A%2F%2Fveojson.com%2Ftools%3Fq%3Dhello%20world%26lang%3Dfr

Decoded

https://veojson.com/tools?q=hello world&lang=fr

Join the Veojson dispatch

Get the weekly Veojson dispatch on API design, encoding gotchas and developer tooling.

One email, no spam, unsubscribe any time.

About this tool

Percent encoding replaces unsafe characters with a % followed by two hex digits so they survive transport in a URL. This tool runs encodeURIComponent and decodeURIComponent (plus full-URI variants) locally in your browser.

Component vs full URI

Use component mode for a single query value — it escapes &, =, ? and /. Use full URI mode when encoding a complete address you do not want to break.

Spaces and plus signs

Percent encoding turns a space into %20. Some form encoders use + instead; decode with the matching mode or you will get literal plus characters back.

How to use URL Encoder & Decoder

  1. 1

    Open URL Encoder & Decoder

    Everything runs on this page — there is nothing to install and no account required to use the free features.

  2. 2

    Add your input

    Paste or enter your values in the panel above. The tool updates as you type, so you can iterate quickly.

  3. 3

    Review the output

    Check the result, copy it with one click, and adjust the options until it matches what your system expects.

  4. 4

    Take it further

    Use the developer & api tips below to make the result production-ready, then unlock the gated extras via the form above.

Best practices

  • Work from a real payload, not a hand-typed sample — encoding bugs hide in whitespace and Unicode.
  • Keep the transformation reproducible: script it in CI once you have confirmed the output here.
  • Never paste live credentials, customer records or production tokens into any web tool you have not audited.
  • Version the inputs and outputs you rely on so a teammate can reproduce the same result later.

Why URL Encoder & Decoder matters

Small integration details — an encoding, a claim, a header — are where most API bugs actually live, and they are expensive to find in production logs.

Getting them right in seconds keeps debugging sessions short and prevents malformed data from reaching downstream systems.

Related free & paid tools

Tool nameTypeKey featuresLink
MDN encodeURIComponentFreeThe exact semantics your browser appliesVisit
CyberChefFreeURL, HTML and double-encoding recipesVisit
PostmanOfferFreemiumAutomatically encodes query params and pathsVisit

Links marked Offer may be partner links. They cost you nothing extra and never affect which tools we recommend.

More free Veojson tools

Frequently asked questions

References