Code to Escaped HTML
Convert HTML, JavaScript and SVG code to escaped HTML format, replacing symbols with HTML entities. Best used with the CSS property 'white-space: pre-wrap' or within the <pre> tags.
Input
Output
Output HTML
Instructions
How to use the conversion tool
- Step 1: Paste your HTML, JavaScript and SVG code to the input textarea.
- Step 2: Press 'Convert' to replace symbols with HTML entities, generating the escaped HTML code.
More information
Privacy
- For improved privacy, code is not loaded to a server. All conversions are done locally on your device.