Кодувальник і декодувальник HTML
Перетворюйте HTML-посилання на символи та друкований Unicode локально.
- Підготуйте ввід
Виберіть потрібні параметри за допомогою елементів нижче.
- Виконайте завдання
Налаштуйте елементи нижче та перевірте попередній перегляд.
- Використайте результат
Перевірте результат і скористайтеся доступними функціями копіювання або завантаження.
Можливості й обмеження
Кодує HTML-символи чи друкований Unicode. Однопрохідне декодування HTML; теги лишаються текстом. При кодуванні виключені NUL, непарні сурогати й керівні C1. Перетворення тексту, не очищення HTML.
Результат
Заповніть поля й виконайте операцію, щоб побачити результат.
Кодувальник і декодувальник HTML
Convert text locally between literal characters and HTML character references. Encode ampersands, angle brackets, quotes and apostrophes as special references, or encode supported Unicode code points as decimal or hexadecimal references; decode references with a single pass. Input is limited to 100,000 characters and unsupported control or surrogate code points are rejected. This is an encoder/decoder, not an HTML sanitizer or parser.
Функції
- Encode special HTML characters with named or numeric references.
- Choose decimal or hexadecimal output for supported Unicode characters.
- Decode character references once while keeping literal tags as text.
- Process up to 100,000 characters locally and copy the result.
Як використовувати
- Paste the text to convert.
- Choose encode or decode and select special, decimal or hexadecimal output when encoding.
- Run the conversion and review the exact references or decoded text.
- Copy the result into the context where it will be used and validate that context separately.