flashman
← All tools

Url

url • encode • decode

https%3A%2F%2Fflashman.dev%2F%3Fq%3Dhello%20world

About this tool

Percent-encode or decode URL components for query strings, redirect URLs, and form submissions. Correct encoding prevents broken links and parsing errors.

Your input is processed in the browser. We do not upload tool payloads to our servers.

Common use cases

  • Encode spaces and special characters in query parameters.
  • Decode user-provided URLs from logs for inspection.
  • Build safe redirect URLs in web applications.

Examples

Encode a query value

hello world becomes hello%20world when encoding for use in a URL.

hello%20world

FAQ

Should I encode the entire URL?
Usually only individual components (path segments or query values) need encoding, not the scheme or host.

Related guide

Percent-encoding rules for query strings, paths, and plus signs in form data.

Read: URL encoding: common mistakes and fixes