URL Kodlayıcı Çözücü

Bir URL veya sorgu dizesini yüzde kodlaması yapın veya çözümleyin, böylece özel karakterler ve boşluklar bağlantılarda ve API isteklerinde güvenli olur.

Why URLs need encoding at all

A URL can only safely contain a limited set of characters — letters, digits and a handful of punctuation marks. Anything else (spaces, accented letters, symbols like & or ?) has to be percent-encoded into a safe escape sequence, or it risks being misread as part of the URL's structure rather than as data. This is exactly what happens automatically when you paste a search query with spaces into a browser's address bar.

Why certain characters are "reserved" and need escaping

Characters like ?, &, =, and / have special structural meaning in a URL - they separate the path from the query string, or separate one query parameter from the next. If your actual data contains one of these characters literally (a search term that happens to include an ampersand, for instance), it must be percent-encoded, or it would be misinterpreted as a structural separator instead of as part of your data.

Why decoding sometimes fails

Decoding expects a valid, well-formed percent-encoded sequence - a stray % not followed by two valid hexadecimal digits, or a truncated sequence from text that was copied incompletely, will cause decoding to fail with an error rather than guessing at what was intended. This is a safety feature: silently guessing wrong could corrupt data rather than flag the problem.

Why this matters beyond just pasting into a browser

Percent-encoding comes up constantly in web development and API work - building query strings programmatically, passing data through webhook URLs, or debugging why a parameter with special characters isn't being read correctly by a server. Manually encoding or decoding by hand is error-prone, which is where a dedicated tool like this one saves time.

A quick cheat sheet of common encodings

A handful of characters turn up again and again: a space becomes %20, an ampersand becomes %26, an equals sign %3D, a question mark %3F, a forward slash %2F, a hash %23, a plus sign %2B, an at sign %40, and a percent sign itself becomes %25. Remembering these makes URLs in logs and analytics reports far easier to read at a glance.

Encode the value, not the whole address

Percent-encoding is meant for the data inside a URL, such as a search term or a parameter value. If you paste a complete address, structural characters like the colon and slashes after https may be escaped too, which turns a working link into a string that no longer functions. Encode just the piece that holds the text, then place it into your address yourself.

Double encoding and other common mistakes

Encoding text that is already encoded turns each percent sign into %25, so %20 becomes %2520 and the receiving server decodes it only once, leaving a visible %20 in the result. If you see percent sequences inside what should be plain text, decode once more. Another frequent mistake is forgetting that a plus sign means a space only in form data, not in ordinary URLs.

How non-English text is encoded

Characters outside basic English are first converted to UTF-8 bytes, and each byte is written as a percent sign followed by two hexadecimal digits. The letter e with an acute accent becomes %C3%A9, and a single Bengali or Arabic letter becomes three percent-encoded bytes. Browsers often display the readable version in the address bar while sending the encoded form behind the scenes.

Sıkça sorulan sorular

Why does a space become %20 instead of +?

This tool's Encode button always escapes a space as %20, and Decode mirrors that — %20 comes back as a space, but a literal + is left as a plus sign rather than converted to a space. The +-means-space convention belongs specifically to form-urlencoded query strings (the format HTML forms submit), not to general percent-encoding, which is why this general-purpose tool doesn't apply it.

Is this the same as Base64 encoding?

No — URL encoding (percent-encoding) escapes unsafe characters for use inside a URL, while Base64 encodes arbitrary binary data into text. They solve different problems.

Why do certain characters need escaping in a URL?

Characters like ? and & have structural meaning (separating the path from the query string, or one parameter from the next) - if your actual data contains one of them literally, it must be encoded so it isn't misread as structure.

Why did decoding fail on my input?

Decoding requires a valid, well-formed percent-encoded sequence. A stray % not followed by two hex digits, or text copied incompletely, will cause an error rather than a guessed (and possibly wrong) result.

When would I need this outside of pasting a link in a browser?

It comes up often in web development - building query strings programmatically, passing data through webhook URLs, or debugging why a parameter with special characters isn't read correctly by a server.

What is double encoding?

It happens when already-encoded text is encoded again, turning each percent sign into %25 - so %20 becomes %2520. The server decodes it once and still shows %20. Decode the text one more time to get the plain version.

How are non-English characters encoded in a URL?

They are converted to UTF-8 bytes, and each byte is written as a percent sign plus two hexadecimal digits. An e with an acute accent becomes %C3%A9, for example.

Teknik SEO & Site Yönetimi içinde daha fazlası