Web tools
HTML String / Entity Encoder.
Convert ordinary text or markup into HTML entities, or decode entity text back to readable characters. Processing stays in your browser and supports common named, decimal and hexadecimal forms.
Browser-based tool
Use HTML encoder
Nothing you enter here is sent to a Website-Me server.
01 / use the tool
How to use HTML encoder
- Choose Encode or Decode and select the output style for encoding.
- Paste or type the text in the input area, then run the tool.
- Copy the output into your template or code editor and review the surrounding context before publishing.
02 / interpret the output
What the result means
Encoding replaces characters that have special meaning in HTML, and numeric modes also represent non-ASCII characters as code points. Decoding reverses common named, decimal and hexadecimal entity forms locally.
Important considerations
- This is an entity converter, not an HTML sanitizer or validator.
- Encoding does not make untrusted HTML safe for every context; use context-appropriate escaping and sanitisation when accepting user content.
- The decoder leaves unknown or malformed entities unchanged so they can be reviewed.
Worked example
Encoding angle brackets and ampersands in named mode produces escaped HTML entities.
03 / continue working
Related tools
Move to the next relevant task without losing the context of this page.
04 / relevant support
Need help applying the result?
The tool is a useful starting point. Website-Me can help connect the next step to the wider site, SEO or GEO work.