Encodeur et décodeur URL
Encodez ou décodez un composant URL, pas l’adresse complète.
Données
Astuce : Ctrl + Entrée pour lancer
Réglages enregistrés
L’aide détaillée ci-dessous n’est pour l’instant disponible qu’en anglais.
À propos de cet outil
Spaces, ampersands, slashes and non-English letters have special meanings in web addresses, so values placed inside a URL must be percent-encoded. This tool encodes a single URL component, such as a search term or a parameter value, or decodes an encoded component back to readable text.
It encodes components, not whole addresses. Encoding a complete URL would also encode its slashes and colon, breaking it; build full links with the UTM link builder or by encoding each value separately.
Mode d’emploi
- Paste the value you want to place in a URL, or the encoded value you want to read.
- Choose encode or decode.
- Run the tool.
- Insert the encoded value after the = sign of a query parameter or into one path segment.
Fonctionnement du calcul
Encoding uses encodeURIComponent, which escapes every character except A–Z, a–z, 0–9 and - _ . ! ~ * ' ( ). Text is encoded as UTF-8. Decoding uses decodeURIComponent and reports malformed % sequences.
encodeURIComponent / decodeURIComponentExemple détaillé
A search parameter value of "name=Ana & Bo/2026?" encodes to name%3DAna%20%26%20Bo%2F2026%3F. Without encoding, the & would start a new parameter and the = would split the value.
Exemple d’entrée et de résultat
hello world → hello%20world
Limites
- Component encoding only.
- A + sign is not converted to a space when decoding.
- Malformed percent sequences cause an error.
Dernière mise à jour:
Questions fréquentes
Why is a space encoded as %20 and not +?
encodeURIComponent uses %20. The + form is specific to HTML form encoding; both decode to a space in most query parsers.
Should I encode a whole URL?
No. Encode only the values you insert into it.
Can it decode %C3%A9?
Yes, it decodes UTF-8 sequences, giving é.
Dépannage
Decoding shows an error.
A % is followed by characters that are not two hex digits. Encode literal % signs as %25.
Plus signs remain in decoded text.
Replace + with a space first if the value came from an HTML form.
The link breaks after encoding.
You probably encoded the whole URL. Encode only parameter values.
Confidentialité & Utilisation gratuite
Mes données sont-elles stockées ?
Vos données restent dans cet onglet. Nous ne recevons ni fichiers, ni textes, ni valeurs de calcul.
Cet outil est-il gratuit ?
Oui. Aucune inscription ni paiement requis.
Voir aussi
D’autres outils utiles
Formateur et validateur JSON
Validez, formatez ou réduisez le JSON localement, sans envoi.
Développement et SEOConvertisseur CSV en JSON
Convertissez CSV en JSON avec séparateurs et sauts de ligne entre guillemets.
Développement et SEOConvertisseur JSON en CSV
Convertissez un tableau d’objets en CSV. Les chaînes de type formule reçoivent un préfixe protecteur.
Développement et SEO