JSON Converters Code Gen Formatters All tools Browse all tools built byAbhay Darji

URL Encoder

Percent-encode any text for safe use in URLs, query strings and form bodies.

100% client side No upload No size limit Works offline
Input
Output
Ready
Drop a file to load it

About this tool

Percent-encode text for a URL. Choose component, full-URI or form encoding depending on where the value is going.

When you would use it

  • Encoding a query parameter
  • Building a URL that carries user input
  • Preparing a form body

Worked example

Text
name=Ada Lovelace&city=London
Encoded
name%3DAda%20Lovelace%26city%3DLondon

Things worth knowing

  • Component mode is the safe default for a single value inside a query string.
  • Encoding works on UTF-8 bytes, so non-ASCII text produces correct multi-byte sequences.
Questions

Frequently asked

When should I use form mode?
When building an application/x-www-form-urlencoded request body, where spaces are conventionally + rather than %20.
Is my data uploaded anywhere?
No. Every tool on JSONWorks runs entirely in your browser using JavaScript. Your input is never sent to a server, never logged and never stored. The simplest proof is to disconnect from the internet — the tools keep working. The site does load Google Fonts and a Google Analytics page-view tag, so you will see those two requests in your network tab, but neither receives anything you type or paste.
Related

Tools that pair well with this