HTML Entities Encode/Decode

Escape <, >, & and quotes as HTML entities, or turn entities back into text.

HTML Entities Encode/Decode

.html · .htm

Paste text or open a file to see the result.

What it does

Escapes <, >, & and quotes as HTML entities, or turns entities such as &amp; back into normal text. Use it when you need to show code on a web page or read text taken from HTML source. You get the escaped or plain text.

About the .html format

.HTML file extension
File Type
Hypertext Markup Language File
Developer
W3C / WHATWG
Category
Web Files
MIME
text/html

HTML is a markup language that defines the structure and presentation of content on the World Wide Web. It is one of the core technologies, along with CSS and JavaScript, that helps render web pages in all their glory.

Also works with

HTML Entities Encode/Decode questions

How do I use the HTML Entities Encode/Decode?

Paste the text into the Input box or open a file, set the options, then copy or download the result.

Does renaming a file to .html change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .html page lists programs and converters for it.