Calcumia

URL Encode and Decode Tool

Easily convert special characters into percent-encoded strings or decode percent-encoded URLs back into readable text using our free online tool. Designed for web developers, content creators, and SEO professionals, this utility ensures your web addresses and query parameters comply with internet standards.

Your inputs

Result

Result
—

Add this calculator to your site — free

Copy one of the snippets into your page. Please keep the attribution link visible.

How to use the URL Encode and Decode

  1. Select your desired operation from the Mode input field.
  2. Type or paste your data into the Text or URL input box.
  3. Review the transformed output displayed instantly in the Result section.
  4. Copy the final text for your web development or link-sharing needs.

How it works

The Result output provides the transformed text based on the selected mode. In encode mode, unsafe characters, spaces, and non-ASCII symbols are converted into percent-encoded bytes. In decode mode, these hex sequences and plus signs are translated back into standard human-readable text characters and spaces.

This tool follows the URI generic syntax standards established by the Internet Engineering Task Force (IETF) in RFC 3986. The specification dictates how characters must be percent-encoded using hexadecimal values representing their UTF-8 byte sequences to ensure reliable transmission across the World Wide Web.

While this tool handles standard text and multilingual characters efficiently, it is important to encode individual query parameters rather than entire URLs containing slashes and colons. Always verify your encoded outputs in a live browser environment to ensure proper routing and prevent double-encoding issues.

Formula

Each byte → %HH

Worked example

“a b&c” encodes to a%20b%26c.

Frequently asked questions

Why do Arabic URLs look like %D8%…?+

Web browsers automatically display percent-encoded hexadecimal sequences in readable Arabic scripts, but they copy them in the encoded format to maintain safe transmission across web servers.

Should I encode a whole URL or just a part?+

You should encode each query value or parameter separately rather than encoding the entire web address. Encoding slashes, colons, and question marks can break the URL structure.

What is the difference between URL encoding and HTML encoding?+

URL encoding replaces unsafe characters with a percent sign and two hexadecimal digits for use in web addresses. HTML encoding uses ampersands and character names to display symbols safely within web page markup.

Why are spaces converted to plus signs or %20?+

In query strings of application/x-www-form-urlencoded data, spaces are traditionally converted to plus signs (+). In standard path segments and general URI encoding, spaces are represented by the hex code %20.

Is this URL encoder free to use?+

Yes, our URL encode and decode tool is completely free, runs directly in your web browser, and requires no software downloads or registration for instant results.

✓ Written and reviewed by the Calcumia editorial team · Last updated: · How we build and check our calculators

Results are estimates for information only and are not financial, medical or legal advice.