Skip to main content

URL Encoder & Decoder

Percent-encode or decode URL components and full links. Handy for query strings, redirects and API debugging — everything stays in your browser.

Processed locally · 0 bytes uploaded

Input

Output

Specific Size & Task Presets

How to use URL Encoder & Decoder

  1. Paste the text or URL component you need to encode or decode.
  2. Choose component mode (encodeURIComponent) or full-URL mode (encodeURI).
  3. Copy the result back into your code, link or log analysis.

Common use cases

  • Put user input into a query string without breaking the URL.
  • Debug a redirect that fails because of unencoded reserved characters.
  • Decode a URL copied from server logs or an analytics dashboard.
  • Prepare non-ASCII text for a share link or QR payload.

Good to know

  • Component mode encodes reserved characters; URL mode deliberately keeps them.
  • Double-encoded input needs two decode passes to recover.
  • Base64 is a different encoding — use the dedicated Base64 tool for that.

Specs

Supported formats
Input & Output: Raw URLs / query parameters ↔ Percent-encoded UTF-8 strings (encodeURIComponent / encodeURI)
File & batch limits
Instant conversion for URLs and query strings up to several MB in memory
AI model download
None (0 MB — native JavaScript URI functions)
Browsers & devices
All modern desktop & mobile browsers
Offline support
Yes — works 100% offline after page load

FAQ

Component vs full URI mode?

Component mode encodes almost every special character — use it for query parameter values (e.g. q=hello world ). Full URI mode keeps :/?#[]@ intact — use it for entire URLs.

Is data uploaded?

No. Encoding uses built-in JavaScript functions in your browser.

Why did decode fail?

Usually malformed percent sequences (e.g. a lone % or incomplete %2 ). Fix the input or encode again from plain text.

Share this tool: