HTML Entity Encoder / Decoder
Runs locallyEncode special characters to HTML entities and decode them back — safe for pasting code into pages.
Convert characters like <, >, & and quotes into their HTML entity equivalents so code snippets render safely in web pages, or decode entities back to plain text. Named entities are used where they exist. Runs entirely in your browser.