Count Characters / Words
Online tool that will calculate how many characters, words and sentences that are in your text.
This tool also includes built-in HTML entity encoding, allowing you to safely display HTML source code on your webpage without it being rendered or executed by the browser. By encoding special characters, your code remains visible exactly as written, making it ideal for tutorials, documentation, blog posts, and educational examples.
HTML entities are used to represent special characters that would otherwise be interpreted as part of the HTML itself. Common characters such as angle brackets (< and >), quotation marks, and ampersands must be encoded to ensure they are displayed correctly as text. HTML entities are also useful for representing characters that are not available on a standard keyboard, such as accented letters, symbols, and mathematical characters.
Each HTML entity begins with an ampersand (&) and ends with a semicolon (;), ensuring the browser correctly recognizes and displays the intended character. By automatically handling this encoding for you, the tool helps prevent display issues, broken layouts, and unintended HTML rendering - making your source code clear, readable, and safe to share.
Your text is converted in your browser and is never sent anywhere.
The encode / decode HTML entities is a great tool to use to help if you need to display HTML code on your webpage.
Paste your code, press Encode, then place the result inside a <pre><code> block so it shows exactly as written.
Choose ‘Named entities’ to turn letters like é and symbols like © into entities, handy for pages that are not saved as UTF-8.
Use ‘Use result as input’ and then Decode to confirm you get your original text back.
A short code that stands for a character, such as < for < or © for ©. It starts with an ampersand and ends with a semicolon. Browsers show the character instead of the code.
The ampersand, the angle brackets, and quotation marks (inside attribute values). If they are left as they are, the browser may read them as part of the page’s own HTML.
“Special characters only” changes just & < > " and '. “Named entities” also changes accented letters and symbols to names such as é, and uses a number when a character has no name. The two number options turn every character outside basic ASCII into a decimal or hex code.
The number form works in every version of HTML. The name ' is not valid in older HTML 4 pages.
Yes. Decoding uses your browser’s own HTML rules, so it understands all the named entities as well as decimal (©) and hex (©) codes.
Yes. Your text is treated as plain text, never as a web page, so nothing in it is run. It is also never sent to our server.
Online tool that will calculate how many characters, words and sentences that are in your text.
This online case converting tool will make it easier to change text from one format to another.
The Lorem Ipsum Code Generator creates placeholder content using latin passages.
Online website form generator, this tool will take the guess work out of creating new contact forms for your website.