Home › Programmer & Developer Tools › URL Encoder / Decoder

URL Encoder / Decoder

Percent-encode or decode text, URLs, and query strings using the browser’s own encodeURIComponent / encodeURI. Batch mode processes one value per line, and decoding a URL shows every query parameter broken down into decoded key/value pairs.

How to use URL Encoder / Decoder

  1. Pick Encode or Decode — conversion happens live as you type or paste.
  2. Choose the scope: Component encodes every reserved character (for parameter values); Full URL keeps :/?&=# so a whole address stays valid.
  3. Toggle "Spaces as +" for form-style encoding or batch mode for line-by-line lists, then copy the result.

Frequently asked questions

What is the difference between Component and Full URL?
Component (encodeURIComponent) encodes every reserved character — use it for individual parameter values. Full URL (encodeURI) leaves :/?&=# intact so a complete URL keeps working.
Why do some sites show spaces as + instead of %20?
HTML form submissions (application/x-www-form-urlencoded) historically encode spaces as +. Enable "Spaces as +" to match that convention in both directions.
Can I encode or decode many values at once?
Yes — enable batch mode and every line of the input is processed independently, ideal for lists of values or query strings.
Is my data sent to a server?
No — the conversion uses the browser’s built-in functions and runs entirely on your device.

More Programmer & Developer Tools

  • JSON Validator — Validate, parse, and prettify JSON — load it from a URL or curl command, or convert a Python dict (single quotes, True/False/None) to JSON. Identifies syntax errors with precise line number reporting.
  • Code Beautifier — Automatically format your JavaScript, CSS, and HTML with customizable indentation and style rules.
  • Minifier — Reduce bundle sizes by removing whitespace, comments, and optimizing code structure for production.
  • SQL Formatter & Beautifier — Pretty-print and indent SQL queries across dialects (PostgreSQL, MySQL, T-SQL, BigQuery, and more) with configurable keyword casing.
  • XML Formatter — Beautify and validate XML with configurable indentation, or minify it to the smallest valid output — entirely in your browser.
  • JSON Diff — Compare two JSON objects (or Python dicts) structurally to spot added, removed, and changed keys — or switch to line and word mode for plain text and code.
  • RegEx Tester — Build and test regular expressions in real-time with syntax highlighting and match group visualization.
  • Base64 Converter — Quickly encode and decode strings or files to Base64 format for safe data transmission.