URL Encoder / Decoder
Developer & DataPercent-encode text for URLs or decode it back.
Options
Text input
Encoded output
0 characters in · 0 out. Processed entirely in your browser.
What is URL Encoder / Decoder?
URL Encoder / Decoder percent-encodes text so it can travel safely inside a URL, and decodes percent-encoded text back to plain readable form. Switch between Encode and Decode with one click, and choose Component to escape a single query value or path segment, or Whole URL to encode a full address while leaving structural characters like : / ? & intact. Malformed input shows a friendly error instead of crashing. Everything runs in your browser, so your text is never uploaded.
How to use URL Encoder / Decoder
Pick Encode or Decode
Choose Encode to turn text into percent-encoded form, or Decode to turn it back. The labels update so you always know which side you're on.
Choose the scope
Component uses encodeURIComponent, escaping reserved characters like & = ? / — ideal for a single query parameter or path piece. Whole URL uses encodeURI, which preserves the characters that give a URL its structure.
Enter your text
Type or paste into the input box, or use Load file to open a .txt file. The result updates live as you type.
Fix decode errors
Decoding text with a stray % or an incomplete %XX escape shows a red message so you can correct the malformed sequence.
Copy or download
Use Copy to grab the result, or Download to save it as encoded.txt or decoded.txt.
Common uses
- Encode a query parameter value that contains spaces, & or = signs
- Decode a percent-encoded URL to read what it actually points to
- Build safe links with names, search terms, or filters in the query string
- Escape a path segment that includes special characters
- Encode an entire URL while keeping its scheme, host, and separators intact
- Inspect redirect or tracking URLs by decoding their nested parameters
Why choose FreeTools
100% private
Your files are processed inside your browser and are never uploaded to a server.
Free, no account
No sign-up, no watermark, no paywalled “premium” tier. Just open a tool and use it.
Instant
No upload, no queue, no server round-trip — work starts the moment you drop a file.
Runs in your browser
Built on open web standards. Works on any modern desktop browser, nothing to install.
No upload size caps
Nothing leaves your device, so there’s no server file-size limit — only your machine’s memory.
Yours to keep
Results download straight to your device in clean, standard file formats.