инструменты/кодирование/кодировщик html-символов
// кодированиеnew

кодировщик html-символов

экранирование и разэкранирование html-символов

— вставьте html // client-only
// результат появится здесь
curl -sX POST 'https://api.whittly.dev/v1/html/encode' \
  -H 'Authorization: Bearer $WHITTLY_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"input":"<div class=\"hello\">World &amp; Co</div>"}'
const res = await fetch('https://api.whittly.dev/v1/html/encode', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer ' + apiKey,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ input: "<div class=\"hello\">World &amp; Co</div>" }),
});
const data = await res.json();
const { data } = await axios.post(
  'https://api.whittly.dev/v1/html/encode',
  { input: "<div class=\"hello\">World &amp; Co</div>" },
  { headers: { Authorization: 'Bearer ' + apiKey } }
);
// proпакетное кодированиеpro·файлы больше 5 МБproподробнее →
// история
Pro Облачная синхронизация — подробнее
операций пока нет