# URL Encoder/Decoder

> Percent-encode text for query strings and paths or decode encoded URLs back to readable text. Component and full-URI modes; runs locally in your browser.

[bfotkit](/) Runs in your browserCategories ▾[All tools 307](/en/tools/)[Text tools9](/en/tools/text-tools/)[Image tools27](/en/tools/image-tools/)[PDF tools20](/en/tools/pdf-tools/)[Social media tools97](/en/tools/social-media-tools/)[Security tools8](/en/tools/security-tools/)[Coding tools25](/en/tools/coding-tools/)[CSS tools12](/en/tools/css-tools/)[Color tools6](/en/tools/color-tools/)[Miscellaneous tools103](/en/tools/miscellaneous-tools/)

[All tools ↗](/en/tools/)[EN](/en/tools/url-encoder-decoder/)[PT](/pt-br/ferramentas/codificador-url/)[DE](/de/werkzeuge/url-kodierer/)[ID](/id/alat/pengode-url/)[RU](/ru/instrumenty/kodirovshik-url/)

SECURITY & ENCODING · BFOTKIT

# URL encoder and decoder online.

Percent-encode text for safe use in query strings and paths, or decode encoded URLs back to readable text — locally in your browser.

InputEncodeDecode

Component encoding (%20 for spaces)OutputCopy

The input is not valid percent-encoding: a % sign is not followed by two hexadecimal digits.

Clear

Encoding and decoding run entirely in this browser tab. Nothing is sent to a server.

GUIDE

## How to encode and decode URLs

### Pick the encoding scope

Component encoding escapes every reserved character, including slashes and ampersands, which is what you want for a single value inside a query string. Full-URI encoding keeps structural characters such as /, ?, and & intact so an entire address stays a working address. Choose based on whether you are encoding a value or a whole URL.

### Understand what gets escaped

Spaces become %20, accents and non-ASCII letters become sequences such as %C3%A9, and reserved characters become their hex forms. Decoding reverses all of it. If a decoded address still looks encoded after one pass, run decode again; some systems double-encode, and repeated decoding usually exposes the original value.

### Watch for broken sequences

A lone % or a % followed by characters that are not hexadecimal digits is invalid. The decoder reports the exact problem instead of guessing, which matters when you are debugging a query parameter that arrived mangled from a form, an analytics link, or an API log.

### Test the result in context

After encoding, paste the value back into the full URL and confirm the page or API resolves as expected. Encoding solves most "value broke my URL" problems, but some systems additionally require specific characters to stay literal; the context decides, not the tool.

HELP / FAQ

## URL encoding questions

### What is the difference between the two modes?

Component encoding escapes everything unsafe for a single parameter value, including / and &. Full-URI encoding preserves those structural characters so a complete address remains navigable. Use component mode for values, full-URI mode for whole addresses.

### Why do spaces show as %20 or +?

In percent-encoding a space is %20; the + convention belongs to form data and some legacy systems. This tool produces %20 in component mode, which is the standard and universally decodable form.

### Can decoding fail?

Yes, when a % is not followed by two hexadecimal digits. The tool reports that instead of guessing, so you can find the corrupted part of the input quickly.

### Is my URL sent anywhere?

No. The conversion happens in this browser tab and nothing is transmitted to a server.

EXPLORE BY CATEGORY · BFOTKIT

## More tools like this

Pick a category to see every tool in it — then open one and discover related tools.

[All tools 307](/en/tools/)[Text tools 9](/en/tools/text-tools/)[Image tools 27](/en/tools/image-tools/)[PDF tools 20](/en/tools/pdf-tools/)[Social media tools 97](/en/tools/social-media-tools/)[Security tools 8](/en/tools/security-tools/)[Coding tools 25](/en/tools/coding-tools/)[CSS tools 12](/en/tools/css-tools/)[Color tools 6](/en/tools/color-tools/)[Miscellaneous tools 103](/en/tools/miscellaneous-tools/)

[Coding toolsPrivate JSON formatter and text cleanup tools↗](/en/tools/private-json-text-cleanup/)[Coding toolsURL Slug Generator↗](/en/tools/url-slug-generator/)[Coding toolsBase64 Encoder/Decoder↗](/en/tools/base64-encoder-decoder/)[Coding toolsHTML Encoder/Decoder↗](/en/tools/html-encoder-decoder/)[Coding toolsHAR Sanitizer↗](/en/tools/har-sanitizer/)[Coding toolsJSON Formatter↗](/en/tools/json-formatter/)[Coding toolsJSON Validator↗](/en/tools/json-validator/)[Coding toolsJSON Tree Viewer↗](/en/tools/json-tree-viewer/)

[Browse all tools →](/en/tools/)

[bfotkit](/)[All tools](/en/tools/)[Privacy Policy](/en/privacy-policy/)[Terms & Conditions](/en/terms-and-conditions/)[About Us](/en/about-us/)[Contact Us](/en/contact-us/)

Useful tools. No fuss. © 2026 BFOTKit[bfotkit.com ↗](https://bfotkit.com/)
