EditSafely

URL-encode UTF8

Quickly URL-escape UTF8 strings.

Runs on your device, nothing uploaded

Escape mode
Try:

0 chars · 0 lines

Output

Quickly URL-escape UTF8 strings.

Type or paste above to see the result here.

Example: Escape

What you paste never leaves this tab

URL-encode UTF8 is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, the text you paste is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.

  • No upload
  • No length limit
  • Works offline once loaded
  • Nothing stored or logged

How to use URL-encode UTF8

  1. 1. Type the text to encode. Type or paste a value such as café & crème, or a whole URL.
  2. 2. Pick an Escape mode. Component escapes everything that is not safe inside a query value; Full URL keeps : / ? & = so a whole URL still works; Form writes spaces as + for form bodies. If you paste a whole URL in Component mode, a link offers Full URL. Strict RFC 3986 under More options also escapes ! ' ( ) *.
  3. 3. Copy the encoded text. Press Copy to take the result into a URL, a curl command or a form body. The reverse button decodes it again.

When to use URL-encode UTF8

URL-encode UTF8 escapes text into the percent-encoded form required inside URLs, converting spaces, punctuation and multi-byte UTF-8 characters like accented letters into safe ASCII sequences. Choosing the right escape mode matters depending on whether you are encoding a whole URL or just one piece of it.

  • Building a query string parameter. You are constructing a search URL by hand and need to escape a user-entered search term that contains spaces, an ampersand or accented characters so it does not break the query string.
  • Embedding a value in an API request. An API expects a path segment or header value to be percent-encoded before you send the request with curl or a script, and the value includes non-ASCII characters.
  • Sharing a link with special characters. You want to share a URL whose title or parameter contains characters that some chat apps or email clients mangle. Encoding it first keeps the link intact wherever it is pasted.

Examples

Escape

Input

a b&c é

Output

a%20b%26c%20%C3%A9

Form body

Input

name=Jo Smith

Output

name%3DJo+Smith

About the URL-encode UTF8 tool

URL-encode UTF8 is a free online tool that works entirely inside your web browser. Quickly URL-escape UTF8 strings. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.

This page is one of 69 UTF-8 utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.

You can shape the output with 2 settings, including Escape mode and Strict RFC 3986 (also escape ! ' ( ) *), and the result refreshes the moment you change one. 2 worked examples further down the page show exactly what the tool produces for real inputs.

Because nothing leaves your device, the tool is suitable for sensitive content such as internal documents, credentials or customer data. It also responds instantly, since every step is handled on your own machine rather than by a remote API.

Frequently asked questions

Is URL-encode UTF8 free to use?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.

How much text can I process at once?

There is no fixed limit; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.

Do I need to sign up or install anything?

No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.

Related tools

All UTF-8 Tools →