URL Decoder

Decode URL encoded strings back to readable text.

0 characters

What is URL Decoding?

URL decoding is the process of converting percent-encoded characters back to their original form. When data is URL encoded, special characters are replaced with % followed by hexadecimal values. This decoder reverses that process to restore the original text.

When Do You Need URL Decoding?

  • Reading Query Strings: Decode parameters from URLs to see their actual values.
  • Debugging Web Applications: Understand what data is being passed in URLs.
  • Log Analysis: Decode URLs in server logs or analytics data.
  • API Development: Decode URL parameters received from clients.
  • Data Processing: Extract and decode data from URL-encoded sources.

Common URL Decoding Examples

  • %20 or + becomes space ( )
  • %21 becomes exclamation mark (!)
  • %40 becomes at sign (@)
  • %26 becomes ampersand (&)
  • %3F becomes question mark (?)
  • %2F becomes forward slash (/)

How to Use This URL Decoder

  1. Paste your URL encoded string in the input field above.
  2. Click the "Decode URL" button.
  3. The decoded result will appear in the output field.
  4. Use the "Copy Result" button to copy the decoded text.

URL Decoding vs URL Encoding

URL encoding converts special characters to percent-encoded format for safe transmission in URLs. URL decoding reverses this process. Use our URL Encoder if you need to encode text instead of decoding it. Use our URL Encoder if you need to encode text instead of decoding it.

URL Decoding in Programming Languages

URL decoding is built into most programming languages. Here are examples:

PHP

$decoded = urldecode($encoded); // or rawurldecode($encoded)

JavaScript

const decoded = decodeURIComponent(encoded); // Browser & Node.js

Python

from urllib.parse import unquote
decoded = unquote(encoded)

Go

import "net/url"
decoded, _ := url.QueryUnescape(encoded)

Java

import java.net.URLDecoder;
String decoded = URLDecoder.decode(encoded, "UTF-8");

Ruby

require 'uri'
decoded = URI.decode_www_form_component(encoded)

C#

string decoded = System.Web.HttpUtility.UrlDecode(encoded);