Developer tools / Free online tool

URL Encoder

Percent-encode text for a URL query value or path component.

Runs in your browser
0 characters
OUTPUT
Your result will appear here

A little input. A useful output.

Ctrl + Enter to run

Your input stays on your device. No uploads. No account. Just your result.

How to use URL Encoder

  1. 01

    Paste a query value or path component.

  2. 02

    Encode it.

  3. 03

    Use the result as one component of a URL.

A quick example

Try a simple example

INPUT
hello world & Vue
OUTPUT
hello%20world%20%26%20Vue

About URL Encoder

Percent encoding represents reserved and non-ASCII characters as byte escape sequences. This tool encodes a component, including characters such as ampersands and question marks.

When it comes in handy

  • Escape a search parameter.
  • Encode non-ASCII path values.

Why use it here?

  • Runs locally in your browser.
  • No account needed; copy or download your result.

A few things to keep in mind

  • Not intended to encode a complete URL.
  • Spaces become %20 rather than +.

Good questions. Simple answers.

Should I paste a full URL?

Use this for individual components. Encoding a full URL will also escape its separators.

Is my input uploaded?

No. This tool processes your input in your browser. Your input and output are not included in analytics.

A good next step

Useful tools that go well together.

Explore category