URL Encode and Decode
Percent-encode text so it is safe in a URL, or decode an encoded URL back to plain text. Instant and private.
Make text safe for a URL
URLs only allow a limited set of characters, so spaces, ampersands, slashes, and accented letters have to be percent-encoded to travel safely in a link or a query string. This URL encoder and decoder handles both directions: encode plain text into a safe form, or paste an encoded string and read it back. Everything runs in your browser, so nothing you paste is sent anywhere.
Hold on to the links you build
A tracking link or an API URL you assemble today is something you will probably need again. Relic keeps an end-to-end encrypted, searchable record of everything you copy, on every device, so that carefully built URL is one search away instead of lost in your history. The encoder is free. Remembering the result is the part Relic adds.
Frequently asked questions
What is URL encoding and how do I do it?
URL encoding, also called percent-encoding, replaces characters that are unsafe in a URL with a percent sign followed by their hex code, like a space becoming %20. Pick Encode to make text URL-safe or Decode to read an encoded string back, then paste and copy. It updates as you type.
Does this encode reserved characters like & and =?
Yes. It uses encodeURIComponent under the hood, which escapes reserved characters such as &, =, ?, /, and # along with spaces and non-ASCII letters. That means it is safe for encoding a single query-string value, where those characters would otherwise be read as separators.
Why does my space become %20 and not a plus sign?
Percent-encoding represents a space as %20, which is the correct form for a path or a query value. The plus sign for a space is a separate convention used only in the older application/x-www-form-urlencoded format, so this tool sticks with %20 to stay correct in general URLs.
What if the encoded string I paste is malformed?
If you decode something with a stray percent sign or an incomplete sequence like %E0, you get a clear note pointing at the problem instead of a broken result. That usually means a percent got in that was not part of a real escape, or a byte sequence was cut off.
Does anything I paste get sent to a server?
No. Both directions run locally in your browser with no network requests, so the links and query values you work with never leave your device. Handy when a URL carries an API key or a token you would rather not expose.