Free tool for developers
URL Encoder/Decoder - Encode and Decode URLs
Encode special characters and spaces in URLs. Decode percent-encoded strings back to readable text. Supports encodeURIComponent and encodeURI. Everything runs locally in the browser.
How to encode and decode a URL with special characters?
The URL Encoder/Decoder tool does three jobs: 1) Encode (encodeURIComponent) — encodes all special characters including :, /, ?, #, &, used for individual query parameters. Space becomes %20. 2) Decode (decodeURIComponent) — returns percent-encoded strings back to readable text. 3) Encode full URL (encodeURI) — leaves structural URL characters (: / ? #) unencoded, ideal for encoding entire URLs. All characters that need encoding are defined by RFC 3986. Special letters are encoded as UTF-8 multi-byte sequences — Google reads these URLs correctly but readable URLs with Latin characters are preferred for SEO. Everything is processed locally in the browser using built-in JavaScript functions — nothing is sent to the server. BeoHosting hosting from €4.31/month supports .htaccess URL rewrite for SEO-friendly URLs.
- Three functions — encodeURIComponent, decodeURIComponent, encodeURI
- UTF-8 special characters supported (multi-byte sequences)
- RFC 3986 standard — compatible with all APIs and browsers
- BeoHosting URL rewrite from €4.31/month — SEO-friendly URLs
BeoHosting Team
10+ godina iskustva — Stručnjaci za web hosting i infrastrukturu
- Web Hosting
- WordPress Hosting
- VPS
- Dedicated Serveri
- Domeni
- SSL
- cPanel
- LiteSpeed
- Linux administracija
- DNS
Poslednje ažurirano:
URL Encoder / Decoder
Unesite tekst ili URL za enkodiranje/dekodiranje. Sve se obrađuje lokalno u vašem pregledacu.
Privatnost: Enkodiranje i dekodiranje se vrši isključivo u vašem pregledacu koristeci ugrađene JavaScript funkcije. Nista se ne šalje na server niti se čuva.
Table of special characters and their URL codes
The most common special characters that must be encoded in URLs.
URL Encoding - Why it matters and when to use it
URL encoding (percent-encoding) is a mechanism defined by the RFC 3986 standard that enables safe transmission of special characters through URLs. URLs can only contain a certain set of ASCII characters — letters, digits, and a few special symbols. All other characters, including special letters, spaces, and symbols, must be encoded.
When to use URL encoding?
URL encoding is necessary in several situations: when sending data through URL parameters (query string), when constructing URLs with user input, when working with APIs that expect encoded parameters, and when creating links that contain special characters or non-ASCII letters.
URL encoding and SEO
For SEO optimization, it's recommended to use readable URLs without encoding where possible. Google and other search engines can read UTF-8 encoded URLs, but simpler URLs with Latin letters are better for sharing and user experience. On BeoHosting hosting plans you can configure .htaccess or Nginx rules to create SEO-friendly URLs.
Where is URL encoding used?
Query parameters
Encoding values in URL parameters (?name=John%20Smith). Without encoding, the space would break the URL.
API calls
Sending data through REST API URLs. Special characters in parameters must be encoded for correct transmission.
Forms and search
HTML forms with GET method automatically encode data in the URL. Understanding encoding helps with debugging.
Non-ASCII characters in URLs
Cyrillic, Latin with diacritics, and other non-ASCII letters require UTF-8 encoding for safe use in URLs.
Redirects
When a URL contains special characters and is used as a parameter of another URL, double encoding may be required.
Email and marketing
Links in email campaigns with tracking parameters require proper encoding for correct operation.
Spremni da pokrenete svoj sajt?
Pridružite se 4.000+ zadovoljnih korisnika. Besplatna migracija i 15 dana garancije povrata novca.
Frequently asked questions - URL Encoder/Decoder
Odgovori na najčešća pitanja o našim uslugama.
Naše garancije za vaš mir
Zaštićeni ste sa svake strane
15 dana garancije
Vraćamo novac bez pitanja u prvih 15 dana.
Besplatna migracija
Mi prebacimo vaš sajt bez prekida — vi ništa ne radite.
24/7 podrška
Naši stručnjaci su tu 24/7 kroz tikete i live chat.