DevTools

URL编码器解码器

在 Ali Hub DevTools 中使用 URL编码器解码器,并获得清晰的验证、结果、隐私说明和已记录限制。

仅当工具明确说明浏览器本地、带版本、限定范围、可清除且非敏感的数据时才使用存储。

安装此工具

将此工具添加到设备,以便快速访问。

URL编码器解码器

Encode and decode URL components online while reviewing percent escapes, query parameters, and reserved characters. 简体中文 locale.

Make HTML structure easier to inspect

This tool encodes text for use inside a URL component and decodes percent-encoded text back to characters. URL encoding pr...

Formatting is not HTML validation

Percent encoding represents a byte or character with a percent sign and two hexadecimal digits. Which characters are escap...

How to format HTML

  1. Choose encode or decode, enter one component, and inspect the result. Decide whether the input is a path, query value, fra...
  2. Choose encode or decode, enter one component, and inspect the result. Decide whether the input is a path, query value, fra...

Formatting method

  • Read markup structure

    The encoder converts characters outside the permitted set into percent escapes using a character encoding such as UTF-8. T...

  • Apply indentation

    The encoder converts characters outside the permitted set into percent escapes using a character encoding such as UTF-8. T...

  • Preserve content

    The encoder converts characters outside the permitted set into percent escapes using a character encoding such as UTF-8. T...

Exact parser recovery, optional-tag handling, whitespace policy, embedded-language behavior, and error wording should be c...

Read the formatted result

A correct result keeps delimiters that belong to the surrounding URL structure and escapes data characters that could be i...

常见错误

Common mistakes include encoding a full URL as one value, decoding too early, double encoding existing escapes, confusing ...

Common mistakes include encoding a full URL as one value, decoding too early, double encoding existing escapes, confusing ...

限制和特殊情况

This tool does not resolve domains, validate server responses, sanitize HTML, or protect secrets. Different libraries appl...

This tool does not resolve domains, validate server responses, sanitize HTML, or protect secrets. Different libraries appl...

Examples

URL Encoder Decoder online — 1

Is URL encoding encryption?

Choose encode or decode, enter one component, and inspect the result. Decide whether the input is a path, query value, fra...

A correct result keeps delimiters that belong to the surrounding URL structure and escapes data characters that could be i...

URL Encoder Decoder online — 2

Should I encode a whole URL?

Choose encode or decode, enter one component, and inspect the result. Decide whether the input is a path, query value, fra...

A correct result keeps delimiters that belong to the surrounding URL structure and escapes data characters that could be i...

URL Encoder Decoder online — 3

Why does a space become plus?

Choose encode or decode, enter one component, and inspect the result. Decide whether the input is a path, query value, fra...

A correct result keeps delimiters that belong to the surrounding URL structure and escapes data characters that could be i...

URL Encoder Decoder online — 4

What is percent encoding?

Choose encode or decode, enter one component, and inspect the result. Decide whether the input is a path, query value, fra...

A correct result keeps delimiters that belong to the surrounding URL structure and escapes data characters that could be i...

URL Encoder Decoder online — 5

Can I decode twice?

Choose encode or decode, enter one component, and inspect the result. Decide whether the input is a path, query value, fra...

A correct result keeps delimiters that belong to the surrounding URL structure and escapes data characters that could be i...

URL Encoder Decoder online — 6

How are Unicode characters handled?

Choose encode or decode, enter one component, and inspect the result. Decide whether the input is a path, query value, fra...

A correct result keeps delimiters that belong to the surrounding URL structure and escapes data characters that could be i...

Frequently asked questions

Is URL encoding encryption?

No. URL encoding represents data for a specific component. Build and validate the complete URL with rules for its protocol...

Should I encode a whole URL?

No. URL encoding represents data for a specific component. Build and validate the complete URL with rules for its protocol...

Why does a space become plus?

No. URL encoding represents data for a specific component. Build and validate the complete URL with rules for its protocol...

What is percent encoding?

No. URL encoding represents data for a specific component. Build and validate the complete URL with rules for its protocol...

Can I decode twice?

No. URL encoding represents data for a specific component. Build and validate the complete URL with rules for its protocol...

How are Unicode characters handled?

No. URL encoding represents data for a specific component. Build and validate the complete URL with rules for its protocol...

Should slashes be encoded?

No. URL encoding represents data for a specific component. Build and validate the complete URL with rules for its protocol...

Does encoding make a URL safe?

No. URL encoding represents data for a specific component. Build and validate the complete URL with rules for its protocol...

References