Skip to main content

URL encode text online with percent encoding

Plain text
Encoded

The result appears here as you type.

Two modes, because they are not interchangeable. Component mode escapes the separators too, which is what you want for a query parameter value. Full URL mode leaves the structural characters alone so the address still works. Also called percent encoding or URI encoding. Query value mode matches encodeURIComponent, full URL mode matches encodeURI.

If it will not parse

These are the messages people usually arrive with: URIError: URI malformed. Paste the input that produced one and the result pane names the problem and points at it.

How to use the URL Encoder, step by step

Real screenshots of the tool, captured while running it.

  1. 1

    Open the tool

    URL Encoder opens empty, with plain text on the left and encoded on the right.

    Empty URL Encoder before any input
  2. 2

    Add your input

    Paste your own plain text, or load the sample. The encoded pane fills in as you type.

    URL Encoder with input in place
  3. 3

    Read the result

    The encoded appears on the right with copy and save beside it.

    URL Encoder showing its result

Questions people ask

Related tools