URL
Encode ToolsFeatured

URL Encode / Decode

Encode and decode URLs and query parameters

URL Encode / Decode

Choose encode or decode. The tool outputs URI Component, Full URI and Form Query results together.

Original Text

Enter text, links or parameters to URL encode.

Chars: 70Lines: 1Bytes: 70
encodeURIComponent
https%3A%2F%2Ftools.chatworkon.com%2Fzh%2Fjson%3Fmode%3Dformat%26sample%3DJSON%20formatter
encodeURI
https://tools.chatworkon.com/zh/json?mode=format&sample=JSON%20formatter
Form Query
https%3A%2F%2Ftools.chatworkon.com%2Fzh%2Fjson%3Fmode%3Dformat%26sample%3DJSON+formatter

How to Use

URI Component

Best for query parameters, values and path parts. It encodes more special characters.

Full URI

Best for full URLs. It keeps URI structure characters such as : / ? & = #.

Form Query

Useful for application/x-www-form-urlencoded data, where spaces become +.

Related Tools

Useful tools in the same category.