모든 도구카테고리소개문의개인정보 보호
개발자 도구

HTML Entity Encoder & Decoder

Escaping makes text safe to place in HTML: angle brackets and ampersands become entities instead of being read as markup. Decoding does the reverse, turning named and numeric entities back into the characters they represent.

업데이트 · 무료 · 가입 불필요 · 기기에서 실행

도구를 불러오는 중…

사용 방법

  1. Paste text and press Encode to escape it for HTML.
  2. Or paste HTML containing entities and press Decode.
  3. Copy the result into your page or template.

추천 사용자

Developers escaping user input, writers fixing a stray & in a CMS, and anyone who needs a special character as an entity.

사용 예시

5 < 10 becomes 5 &lt; 10, which displays correctly in HTML instead of being parsed as a tag.

제한 사항

Decoding understands the common named entities and all numeric entities. Less common named entities are left unchanged rather than guessed.

개인정보 보호

What you type or paste is processed in memory in this tab. It is not sent to a server, and nothing is saved after you close the page unless the tool says otherwise.

자주 묻는 질문

Does encoding make text safe from XSS?

It makes text safe in an HTML text context. Attribute, JavaScript and URL contexts need their own escaping rules.

빠른 정보

분류
개발자 도구
지원 기기
휴대전화, 태블릿 및 데스크톱
계정
필요 없음
가격
무료
데이터
기기에 저장됩니다
업데이트