Aller au contenu
uencoder

Encodeur d'URL

Percent-encode text for safe use in URLs. Gratuit, privé et 100% côté client.

Essayer un exemple:
Local only

Historique récent

Aucun historique

Utilisation

  1. Paste the text or URL into the input box.
  2. Choose component or full URL mode.
  3. Copy the percent-encoded result.

Tâches utilisant cet outil

Pipelines utilisant cet outil

Questions fréquentes

Why percent-encode a URL?
Certain characters such as spaces and '&' have special meaning in URLs. Percent-encoding makes them safe to transmit without breaking the URL structure.
What is the difference between component and full URL modes?
Component mode encodes every reserved character (like encodeURIComponent), while full URL mode preserves URL structure such as '://', '?', '#', and '&', encoding only spaces and truly unsafe characters.
How are spaces encoded?
Spaces are encoded as %20 (not '+'). The + encoding is specific to application/x-www-form-urlencoded in HTML forms; %20 is the correct general-purpose encoding for URL paths and query parameters.
Which characters are left unencoded?
Unreserved characters A-Z, a-z, 0-9, '-', '.', '_', and '~' are never encoded. In full URL mode, reserved characters like ':', '/', '?', '&', '=' are also preserved.
How are multibyte characters handled?
Characters are encoded to bytes using the selected charset (UTF-8 by default), then each byte is percent-encoded. '你好' becomes %E4%BD%A0%E5%A5%BD in UTF-8.
Mes données sont-elles téléversées quelque part ?
Non. Tout l'encodage s'effectue localement dans votre navigateur, sans aller-retour serveur.

Outils associés