Privvert - private browser-based file toolsPrivvert

Codifica/decodifica URL

Percent-encoding

Informazioni su questo strumento

URL-encode or URL-decode strings - the percent-encoding (%20, %3F, etc.) used in URLs, query strings and HTTP form data. Also parses a full URL into its components (protocol, host, port, path, query, hash) so you can inspect each part separately.

Useful for debugging APIs, building URLs by hand, decoding suspicious links, and pretty-printing query strings. Runs entirely in your browser.

Funzionalità

  • Encode and decode percent-escapes
  • Parse a full URL into protocol, host, port, path, query, hash
  • Pretty-print query parameters as key/value pairs
  • Live two-way conversion
  • Browser-only - data never uploaded
  • Free and unlimited
  • Handles percent-encoding of full URLs and individual query components separately

Come si usa

  1. Paste text or a full URL.
  2. Pick encode, decode or parse.
  3. Copy the result.
🔒 100% privato

Tutto avviene all'interno del tuo browser con JavaScript e WebAssembly. I tuoi file non vengono mai caricati su un server, mai memorizzati e mai visti da noi.

Domande frequenti

What's the difference vs Base64?

URL encoding escapes characters that aren't safe in URLs (?, &, /, spaces). Base64 turns binary bytes into text. They solve different problems.

When should I encode a URL?

Whenever you build a URL from user input or arbitrary text - values in query parameters or path segments need encoding so special characters don't break the URL structure.

What's the difference between encodeURI and encodeURIComponent?

encodeURI assumes you're encoding a complete URL and leaves URL-structural characters (/, ?, #) alone. encodeURIComponent escapes everything that isn't a letter or digit, suitable for query parameter values.

Can I see Unicode characters in the URL?

Yes - modern browsers support IRIs (international URIs) with non-ASCII characters. The encoded form is still ASCII percent-escapes.

Why are spaces sometimes %20 and sometimes +?

In the query string of an HTTP URL, both encodings are accepted by most servers, but they mean slightly different things by convention: %20 in paths, + in form-encoded queries. The tool offers both modes so you can match whatever your downstream expects.

Does it decode double-encoded URLs?

Click Decode twice to peel two layers of encoding. The tool doesn't auto-detect double encoding because that would change the meaning of legitimately single-encoded URLs.