devwrench— browser-based developer tools
Back to tools
devwrench --run url-encoder

Free URL Encoder / Decoder
for percent-encoded URL values.

Encode or decode URL components instantly with this free online URL tool. No accounts. No uploads. No telemetry.

Text input

Encoded output

hello%20world

Supported

  • URL encoding with encodeURIComponent()
  • URL decoding with decodeURIComponent()
  • UTF-8 characters and symbols
  • Instant browser-based conversion
  • Optional form decoding mode for + as space

Automatically handled

  • Percent encoding for unsafe URL characters
  • Local conversion with no uploads
  • One-click copy for converted output

Not supported yet

  • Full URL parser mode
  • Query parameter inspector
  • Form URL encoded conversion output

Free online URL encoder and decoder

This tool works as a URL encoder, a URL decoder, and a quick way to convert text into percent-encoded URL-safe values or decode them back into readable text.

Developers often need this when working with query strings, redirects, API requests, search parameters, webhooks, and any data that must be safely passed inside a URL.

The tool supports standard percent encoding as well as an optional form decoding mode that treats + as a space for common application/x-www-form-urlencoded style values.

Everything runs locally in your browser, so your input is not uploaded or stored anywhere.

Example

hello world?name=John Doe → hello%20world%3Fname%3DJohn%20Doe

Switch between encode and decode mode to transform text or inspect percent-encoded URL values instantly.

Encode URL components or decode percent-encoded values

Use this tool to quickly encode text for safe use in URL components, or decode encoded strings back into readable text directly in your browser.

Common use cases

  • Encode query parameter values safely
  • Decode percent-encoded URLs from logs or browsers
  • Inspect webhook and redirect parameters
  • Work with form-encoded values where plus signs represent spaces

How it works

In encode mode, the tool converts special characters into percent-encoded sequences using encodeURIComponent(). In decode mode, it reverses that transformation with decodeURIComponent().

When form decoding mode is enabled, the tool first converts + characters into spaces before decoding, which matches common HTML form encoding behavior.

The conversion happens entirely client-side for speed and privacy.

What is percent encoding in a URL?

Percent encoding replaces unsafe or reserved URL characters with escape sequences like %20 so values can be transmitted safely in URLs.

This is especially useful for spaces, symbols, non-ASCII characters, and user input that needs to be included in query strings or route parameters.

FAQ

What is a URL encoder / decoder?

A URL encoder / decoder converts plain text into percent-encoded URL values and decodes encoded values back into readable text.

Does this support form decoding with plus signs?

Yes. In decode mode, you can enable form decoding to treat + as a space.

Is this URL encoder safe?

Yes. Everything runs in your browser and your input is not uploaded.

More developer tools

DevWrench provides a growing collection of browser-based developer tools including JSON utilities, converters, encoders, and debugging helpers. Browse them below.

devwrench.toolsno tracking · no ads · open in browser