URL Encoder & Decoder
Percent-encode or decode URLs and query values, and see every parameter at a glance.
- Runs in your browser — nothing uploaded
- Instant, no waiting in a queue
- Free, no watermark, no daily limits
Encode text so it is safe to put in a URL, or decode a percent-encoded string back to readable text. Component mode works like JavaScript’s encodeURIComponent for single query values, while Full URL mode works like encodeURI and keeps characters such as : / ? & = intact. Turn on “Spaces as +” for HTML form encoding. When the input is a full URL, its protocol, host, path, hash and decoded query parameters are listed below.
How to URL Encode or Decode Text
- 1
Choose Encode or Decode
Pick the direction, then Component mode for a single value or Full URL mode for a whole link.
- 2
Paste the text
Paste text or an encoded URL — the result updates as you type.
- 3
Copy and inspect
Copy the result, or check the URL breakdown table for each query parameter.
Why use ToolzBank URL Encoder / Decoder?
- encodeURIComponent and encodeURI modes
- Form encoding with + for spaces
- Clear error for malformed % sequences
- URL breakdown: protocol, host, path, hash
- Decoded query-parameter table
- Swap result back into the input
Frequently asked questions
What is URL encoding?
What is the difference between encodeURI and encodeURIComponent?
Should spaces be %20 or +?
Why do I get a “malformed” error when decoding?
Is my URL sent anywhere?
More free developer tools
JSON Formatter & Validator
Beautify, minify & validate JSON
JSON to CSV
Flatten JSON arrays into CSV/Excel
XML Formatter
Pretty-print & validate XML
JWT Decoder
Decode & verify JSON Web Tokens locally
Regex Tester
Test regular expressions live
Timestamp Converter
Unix epoch ⇄ human-readable dates
Diff Checker
Compare two texts line by line
Base64 Encoder / Decoder
Encode & decode Base64 text and files
HTML, CSS & JS Formatter
Beautify HTML, CSS & JS; minify HTML & CSS
Hash Generator
MD5, SHA-1, SHA-256 & SHA-512 for text or files
Number Base Converter
Binary, octal, decimal & hex conversion
PX to REM Converter
Convert px ⇄ rem, or a whole stylesheet
Color Converter
HEX, RGB, HSL, HSV & CMYK with contrast check
YAML to JSON Converter
Convert YAML ⇄ JSON with error lines
SQL Formatter
Beautify SQL for MySQL, PostgreSQL & more
Markdown Editor
Write visually, download a .md file
From Our Blog
How to Decode a JWT and Verify Its Signature (Safely)
What is inside a JSON Web Token, how to read its claims and expiry, and how to verify the signature locally without sending the token anywhere.
URL Encoding Explained: How to Encode and Decode URLs
Why spaces become %20, when to use encodeURIComponent vs encodeURI, and how to encode, decode and inspect URLs and query strings instantly.
What Is Base64 Encoding and How to Encode/Decode It Online
Base64 isn't encryption — it's a way to safely represent binary data as plain text. Here's what it actually does, where it shows up, and how to encode or decode it instantly.
