Convert special characters to HTML entity codes or back.
They are codes that let special characters be written safely in HTML: < for <, & for &, for a non-breaking space, and so on.
When you want to show HTML code as text on a page (for example in a tutorial) and when printing user-supplied text on a page. On UTF-8 pages, accented characters can be written without converting them to entities.
No. Everything happens in your browser; the text or code you paste is never sent to any server.