HTML Entity Encoder / Decoder

Convert special characters to HTML entities, or back again

도구를 불러오는 중…

🔒 Everything runs 100% in your browser. Your files and input are never uploaded to any server.

This tool encodes special characters like angle brackets, ampersands, and quotes into safe HTML entities, or decodes entities back into their original characters. It's useful for developers and bloggers who need to show code as-is in posts and templates.

How to use

  1. Select 'Encode' or 'Decode' in the top tab.
  2. Paste the text to convert into the input box.
  3. Check the result below.
  4. Use the 'Copy' button to grab the result as is.

FAQ

Which characters are encoded?
It converts the five characters < > & " ' into their safe HTML entities. This lets you display code or tags on screen exactly as written.
Are numeric entities (') decoded too?
Yes. Besides named entities, it also converts decimal (') and hexadecimal (&#x27;) numeric entities back into their original characters. Unknown entities are safely left as they are.
Is what I enter sent to a server?
No. Both encoding and decoding are processed entirely within your browser, and the text you enter is never sent to or stored on a server.

← Back to all tools

가격 보기카톡 무료 상담