URL Decoder

Turn percent-encoded text back into something readable.

URL Decoder tool

About the URL Decoder

Encoded redirect targets, tracking parameters and log entries are hard to read when every space is %20 and every accented letter is a pair of codes such as %C3%A9 for é. This tool will URL decode them back into readable text instantly: hello%20world%21 becomes hello world!. It also detects strings that were encoded twice, a common bug that turns %20 into %2520, and decodes them fully. Plus signs from submitted web forms can be treated as spaces when needed. Decoding happens in your browser. To encode text for a link, use the URL Encoder, and to see every part of a link, the URL Parser.

The decoder understands UTF-8, so a pair of escapes such as %C3%A9 becomes the single letter é instead of two garbled symbols, and characters from Urdu, Arabic or Chinese come back correctly too. There is also a switch for plus signs: web forms historically sent spaces as +, so turn it on for submitted form data and leave it off for ordinary links.

Strings that were encoded twice are surprisingly common and confusing. In them, sequences such as %2520 appear, where %25 is itself an encoded percent sign. Turn on repeated decoding and the tool runs pass after pass automatically, stopping when nothing further changes, so the true value appears at once. Decoding is also handy for reading the search terms and campaign values hidden inside long tracking links before you click them.

How to use the URL Decoder

  1. Paste the encoded stringA whole web address or just one parameter value, copied from a browser bar, an email or a log file.
  2. Decide about plus signsSwitch on the + to space option for values that a web form sent.
  3. Turn on repeated decoding if neededUse it when you spot %25, the sign of double encoding.
  4. Copy the readable textTake the decoded result with the copy button and paste it into your notes, ticket or bug report.

URL Decoder features

  • Multi-byte UTF-8 characters decoded correctly
  • Optional reading of plus signs as spaces
  • Repeated decoding for strings encoded more than once
  • Clear message for a broken percent sequence
  • Result shown as you type
  • One-click copy

Common uses

  • Seeing where a redirect link really leads
  • Reading the tracking values in a campaign address
  • Making server log lines easy to read
  • Investigating form data that arrives encoded
  • Restoring accented file names from a download link

Decoding URLs in practice: tracking redirects, Urdu addresses in reports, attack attempts in server logs, rewritten email links and encoded slashes

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

Encoded addresses turn up in analytics reports, server logs, email links and redirects, and decoding them is often the only way to see what they really say. This guide decodes a social media redirect, then covers reading Urdu page addresses in reports, recognising attack attempts in server logs, unwrapping links rewritten by email security tools, encoded slashes and copying addresses from the browser.

A worked example: a social media redirect

Links clicked inside some social apps pass through a redirect, appearing in logs as something like https://l.facebook.com/l.php?u=https%3A%2F%2Fexample.com%2Fsale%3Futm_source%3Dfacebook. Decoding the u parameter reveals https://example.com/sale?utm_source=facebook, the real destination with its campaign tag. This shows which page and which campaign a visit really came from.

Urdu addresses in reports

Analytics and search reports often show Urdu page addresses in encoded form, such as /%D8%A7%D8%B1%D8%AF%D9%88, which decodes to the Urdu word اردو. Decoding a list of such addresses turns an unreadable report into one you can act on, matching pages to their traffic and search queries.

Attack attempts in server logs

Server logs record requests from bots probing for weaknesses, usually in encoded form. A parameter such as %27%20OR%201%3D1 decodes to ' OR 1=1, a classic SQL injection probe, and %3Cscript%3E decodes to a script tag, a cross-site scripting attempt. Seeing these requests is normal for any public site; what matters is that your application handles them safely, which decoding a few log lines helps you understand.

Links rewritten by email security

Some workplace email systems rewrite every link through a security service, producing long addresses with the original link encoded inside a url parameter. Decoding that parameter shows the original destination, which helps when checking a link someone forwarded or when a scanner breaks a legitimate link.

Encoded slashes

An encoded slash, %2F, inside a path is treated differently by different servers: some reject the request, some decode it and some pass it through unchanged. Applications that put identifiers containing slashes into paths can fail unpredictably as a result. Keeping such values in query parameters, or replacing slashes, avoids the problem.

Copying from the address bar

Browsers display readable characters in the address bar but copy the encoded version, so a neat Urdu or accented address becomes a long string of percent codes when pasted into a message. Decoding before sharing shows the readable form, though the encoded form is what works reliably in every app.

Reading form submissions

Data sent by simple HTML forms arrives as name and value pairs joined by ampersands and encoded, with plus signs standing for spaces. When a form submission looks wrong in a log, decoding the body shows exactly what each field contained, including stray spaces and characters typed by the user.

Repeated encoding

When a value has passed through several systems, it may be encoded two or three times, showing sequences such as %252F. Decoding repeatedly until the text stops changing reveals the original. If this happens often in your own system, find the step that encodes an already-encoded value and fix it there.

Common mistakes

  • Trusting a link's visible text instead of its decoded destination.
  • Ignoring encoded attack attempts when reviewing logs.
  • Putting values with slashes into URL paths.
  • Fixing double encoding by decoding twice instead of fixing its source.

Related tools

To encode text for links, use URL Encoder. To split an address into its parts, try URL Parser, and to strip tracking parameters, URL Cleaner.

Decoding in code

JavaScript's decodeURIComponent throws an error when it meets a percent sign that is not followed by two valid hexadecimal digits, which happens with truncated or hand-typed links. Wrapping the call in error handling, and showing the original text when decoding fails, prevents a single bad link from breaking a page or a report.

What visitors search for

Internal site search pages often place the search term in the address, such as a parameter named q or s. Decoding these terms from analytics shows exactly what visitors look for on your site, including Urdu searches and misspellings, which is a rich source of ideas for new pages and missing content.

Duplicate addresses

The same page can be reached through an encoded and a decoded form of its address, and search engines may treat them as separate URLs. Linking consistently to one form, and declaring it with a canonical tag, keeps signals concentrated on a single address.

Fragments never reach logs

Everything after a hash sign in an address stays in the browser and never appears in server logs. If a tracking value or identifier seems to vanish between a link and your logs, check whether it sits after a hash, and move it into a query parameter if the server needs it.

Checking decoded output carefully

Decoded text can contain characters that look alike but differ, such as Cyrillic letters resembling Latin ones in domain names. When a decoded address will be used to judge whether a link is genuine, read the domain slowly, character by character, rather than trusting a quick glance at a familiar-looking name.

Privacy

Decoding happens in your browser. Nothing you paste is uploaded or stored.

Further reading: Base64, URL Encoding and Hashing: What Is the Difference?.

Frequently asked questions

Why do I get a malformed sequence error?

Each % has to be followed by a pair of characters from 0-9 and A-F. A lone percent sign, or a string that was cut off in the middle of an escape, stops decoding, so check that the whole value was copied.

What does %2520 in an address mean?

It means the text was encoded twice. %25 stands for a percent sign, so one pass turns %2520 into %20 and a second pass turns that into a space. Switch on repeated decoding to get there in one go.

Should a plus sign always be turned into a space?

Only for data that a web form submitted, because forms have long used + to stand for a space. In the path of an ordinary address a plus is just a plus, and changing it would damage the value, so this is a switch.

Can I decode an entire web address at once?

Yes, and it is a handy way to read one. Just remember that the decoded version may stop being a working address if it contained encoded separators such as %2F or %3F that now look like real ones.

Does the decoder send anything to a server?

No. It relies on functions built into your browser and runs inside this page, so the tokens, email addresses and parameters you paste remain on your own device.

Will decoding tell me whether a link is safe to open?

It shows where a link truly points, which helps you spot a destination disguised behind encoding, but it does not judge whether that website can be trusted. Treat unfamiliar domains with care.