Url Encoder Decoder

URL Encoder Decoder — Encode & Decode URLs Online Free | StoreDropship

URL Encoder Decoder

Encode special characters in URLs to percent-encoding, or decode them back to readable text — instantly in your browser.

Paste any URL, query string, or plain text to encode or decode.
Mode:
Result Encoded
0
Input Length
0
Output Length

How to Use the URL Encoder Decoder

  1. Paste or Type Your Text

    Enter the URL or text string you want to encode or decode into the input field.

  2. Choose Encode or Decode

    Click Encode URL to convert special characters to percent-encoding, or Decode URL to reverse the process.

  3. Choose Encoding Mode

    Select Full Encode to encode all special characters, or Query String mode to preserve URL structural characters like slashes and colons.

  4. View the Result

    The encoded or decoded output appears instantly in the result area below.

  5. Copy or Clear

    Click Copy Result to copy the output to your clipboard, or click Clear to reset the tool.

Key Features

🔗

Two Encoding Modes

Full Encode (encodeURIComponent) for parameter values, and Query String (encodeURI) for full URL encoding — pick the right mode for your use case.

🔄

Encode & Decode

Both directions — convert plain text to percent-encoded format or decode percent-encoded URLs back to readable text with one click.

🌐

Unicode & Non-ASCII Support

Handles Hindi, Tamil, Arabic, Chinese, and other non-ASCII characters. Great for multilingual URLs and Internationalised Domain Names.

⚠️

Malformed URL Detection

If your input contains invalid percent sequences, the tool alerts you rather than silently returning corrupted output.

🔒

100% Browser-Side

All encoding and decoding uses JavaScript's native functions — nothing is sent to any server at any point.

📏

Length Comparison

See input and output character lengths side by side so you can understand exactly how much the encoding expands or shrinks your string.

How It Works — The Encoding Logic

URL encoding converts characters that are not safe to use in a URL into a representation that is universally understood by web servers and browsers. The mechanism is defined in RFC 3986.

Full Encode (encodeURIComponent) Safe characters (not encoded): A–Z a–z 0–9 - _ . ! ~ * ' ( ) All other characters → %XX where XX = uppercase hex byte value Example: "hello world" → "hello%20world" Example: "price=₹999" → "price%3D%E2%82%B9999"
Query String Mode (encodeURI) Preserves URL structural characters: : / ? # [ ] @ ! $ & ' ( ) * + , ; = Also preserves: A–Z a–z 0–9 - _ . ! ~ * ' ( ) Encodes: spaces, non-ASCII, % (when not part of valid sequence) Example: "https://example.com/search?q=hello world" → "https://example.com/search?q=hello%20world"
Decoding (decodeURIComponent) Converts: %20 → space, %2F → /, %3A → :, %E2%82%B9 → ₹ Multi-byte UTF-8 sequences are reassembled into proper Unicode characters. Invalid sequences (e.g. %GG or lone %) → throws URIError → tool shows error
Non-ASCII Example (Hindi) Input: "नमस्ते" UTF-8 bytes: E0 A4 A8 E0 A4 AE E0 A4 B8 E0 A5 8D E0 A4 A4 E0 A5 87 Encoded: "%E0%A4%A8%E0%A4%AE%E0%A4%B8%E0%A5%8D%E0%A4%A4%E0%A5%87"

The choice between the two modes depends on what you are encoding. If you are encoding a value that will go inside a query parameter — a search term, a product name, a form field value — use Full Encode. If you are encoding a complete URL that includes its structure (protocol, domain, path, query), use Query String mode to preserve the structural characters.

Common Percent-Encoded Characters Reference

CharacterEncodedDescription
Space%20Most common encoding need
!%21Exclamation mark
#%23Hash / fragment identifier
$%24Dollar sign
&%26Ampersand — separates query params
+%2BPlus sign (form-encoded space alternative)
/%2FForward slash — path separator
:%3AColon — protocol separator
=%3DEquals — key-value separator
?%3FQuestion mark — query start
@%40At sign
%E2%82%B9Indian Rupee symbol (3-byte UTF-8)

Practical Examples

🇮🇳 Rahul Mehta — Mumbai, India | Web Developer

Rahul builds e-commerce search pages. When a user searches for "साड़ी ₹500 से कम" the query string needs to be URL-encoded before being appended to the fetch request URL.

Input: साड़ी ₹500 से कम

Encoded (Full): %E0%A4%B8%E0%A4%BE%E0%A4%A1%E0%A4%BC%E0%A5%80%20%E2%82%B9500%20%E0%A4%B8%E0%A5%87%20%E0%A4%95%E0%A4%AE

✅ Result: Query string safely passed to the API without breaking the URL structure. Search results return correctly.
🇮🇳 Priya Nair — Bengaluru, India | Digital Marketer

Priya receives a tracking URL from a campaign platform that contains percent-encoded parameters. She needs to read the destination URL clearly to verify the campaign setup is correct.

Encoded input: https://storedropship.in/?utm_source=email&utm_content=offer%3A50%25%20off%20today

Decoded: utm_content=offer:50% off today

✅ Result: Campaign parameter decoded in one click. Priya confirms the offer copy is correct without manually reading hex sequences.
🇬🇧 James Riley — London, UK | API Developer

James is building a REST API endpoint that accepts address data as a query parameter. The address contains commas, hash symbols, and spaces that must be encoded before being sent via GET request.

Input: 123 Baker St, London #2B

Full Encoded: 123%20Baker%20St%2C%20London%20%232B

✅ Result: Address safely encoded. API receives the parameter correctly parsed without the comma or hash breaking the query string structure.
🇮🇳 Anjali Das — Kolkata, India | SEO Specialist

Anjali is auditing a client's website and finds canonicalised URLs with percent-encoded characters. She needs to decode them in bulk to understand what pages the encoded URLs represent.

Encoded: https://example.in/category/%E0%A6%AA%E0%A7%8B%E0%A6%B6%E0%A6%BE%E0%A6%95/

Decoded path: /category/পোশাক/

✅ Result: Bengali category slug decoded instantly. Anjali identifies the page as the "Clothing" category and proceeds with her audit correctly.

What Is URL Encoding and Why Does It Matter?

URLs can only contain a limited set of characters from the ASCII character set. Characters outside this safe set — spaces, non-English letters, punctuation marks, emoji — must be converted to a format that is safe for transmission over the internet. This conversion is called URL encoding, or percent-encoding (defined in RFC 3986).

The mechanism is straightforward: each unsafe character is replaced by a percent sign followed by two uppercase hexadecimal digits representing the character's byte value. A space (ASCII 32) becomes %20. The Indian Rupee symbol ₹ (Unicode U+20B9, encoded as three UTF-8 bytes E2, 82, B9) becomes %E2%82%B9. Characters that require multiple UTF-8 bytes produce multiple percent-encoded triplets.

URL encoding matters in every context where URLs are constructed programmatically — API requests, search queries, form submissions, redirect URLs, campaign tracking parameters, and canonical tags. An unencoded special character in a URL can silently break the request, produce incorrect search results, or cause security vulnerabilities like open redirect attacks. Getting URL encoding right is fundamental to any web development or digital marketing workflow.

URL Encoder Decoder in Multiple Languages

Hindi
URL एनकोडर डीकोडर — URL को सुरक्षित प्रारूप में बदलें
Tamil
URL என்கோடர் டீகோடர் — URL-ஐ பாதுகாப்பான வடிவத்தில் மாற்றுங்கள்
Telugu
URL ఎన్‌కోడర్ డీకోడర్ — URL ని సురక్షిత ఆకృతికి మార్చండి
Bengali
URL এনকোডার ডিকোডার — URL কে নিরাপদ ফরম্যাটে রূপান্তর করুন
Marathi
URL एनकोडर डीकोडर — URL सुरक्षित स्वरूपात रूपांतरित करा
Gujarati
URL એન્કોડર ડીકોડર — URL ને સુરક્ષિત ફોર્મેટમાં રૂપાંતરિત કરો
Kannada
URL ಎನ್‌ಕೋಡರ್ ಡೀಕೋಡರ್ — URL ಅನ್ನು ಸುರಕ್ಷಿತ ಸ್ವರೂಪಕ್ಕೆ ಪರಿವರ್ತಿಸಿ
Malayalam
URL എൻകോഡർ ഡീകോഡർ — URL സുരക്ഷിത ഫോർമാറ്റിലേക്ക് മാറ്റുക
Spanish
Codificador decodificador de URL — convierte URLs a formato seguro
French
Encodeur décodeur d'URL — convertit les URL en format sécurisé
German
URL-Encoder Decoder — URLs in sicheres Format umwandeln
Japanese
URLエンコーダーデコーダー — URLを安全な形式に変換する
Arabic
مشفّر ومفكّك URL — تحويل الروابط إلى صيغة آمنة
Portuguese
Codificador decodificador de URL — converta URLs para formato seguro
Korean
URL 인코더 디코더 — URL을 안전한 형식으로 변환

Frequently Asked Questions

Is this URL encoder decoder free to use?
Yes, the URL Encoder Decoder on StoreDropship is completely free. No login, no account, and no usage limits.
What is URL encoding?
URL encoding, also called percent-encoding, converts characters that are not allowed or have special meaning in URLs into a safe format. Each unsafe character is replaced with a percent sign followed by two hexadecimal digits representing the character's ASCII code — for example, a space becomes %20.
What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL, preserving characters that have structural meaning in URLs such as colon, slash, question mark, and hash. encodeURIComponent encodes a URL component like a query parameter value, converting all special characters including colon and slash. Use encodeURIComponent for individual values within a URL.
What does the Full Encode mode do?
Full Encode mode uses encodeURIComponent, which encodes all characters except letters, digits, and the characters - _ . ! ~ * ' ( ). This is the safest mode for encoding individual query parameter values, form data, or any text that will be embedded inside a URL.
What does the Query String mode do?
Query String mode uses encodeURI, which preserves characters that have structural meaning in a complete URL — colon, slash, question mark, hash, and ampersand — while encoding unsafe characters like spaces and non-ASCII characters.
Why does a space become %20 or +?
In standard percent-encoding, a space becomes %20. In HTML form encoding (application/x-www-form-urlencoded), a space becomes a plus sign (+). This tool uses %20, which is correct for URL encoding. When decoding, both %20 and + are converted back to a space.
Can I decode a malformed or partially encoded URL?
If a URL contains invalid percent-encoded sequences — such as a percent sign not followed by two hex digits — the tool will display an error and not attempt a partial decode, preventing silent data corruption.
Is my data sent to any server?
No. All encoding and decoding happens entirely in your browser using JavaScript's built-in encodeURIComponent and decodeURIComponent functions. No data is sent to any server.

Recommended Hosting

Hostinger

If you are building a website for your tools, blog, or store, reliable hosting matters for speed and uptime. Hostinger is a popular option used worldwide.

Visit Hostinger →

Disclosure: This is a sponsored link.

Contact Us

Share This Tool

Found this tool useful? Share it with friends and colleagues.

Scroll to Top
💬