HTML entity encoder
Escape five HTML-special characters or decode named and numeric references. Compare text escaping with sanitization using local examples.
Developer toolsRender Markdown headings, lists, tables and code; copy or download sanitized HTML. See supported syntax, removed media and practical preview limitations.
Ready when you are.
The preview renders this fragment. Unsafe elements and remote media are removed.
# Hello **Important** text
<h1>Hello</h1> <p><strong>Important</strong> text</p>
Enter Markdown and select Run tool to update the preview. The result text contains sanitized HTML; Copy copies that fragment and Download saves it as an .html file. Editing the input marks the old result as stale until you run again.
Uses Marked followed by DOMPurify, not a full website or GitHub renderer. Images and embedded media are removed. Links remain clickable; review their destinations. Markdown input is limited to 200,000 JavaScript string units.
Select Run tool (or press Ctrl / Cmd + Enter) after editing. Until then, the previous result is marked stale and Copy/Download are disabled. The preview is not a live collaborative editor.
No. This tool processes your input in your browser. We don't store your text, files or results. Standard website access logs are separate; read our privacy notes.
Yes. No account, subscription or usage credits are required.
Use Copy or Download after running the tool. Inputs are not saved automatically and disappear when you leave or refresh the page.
Headings, emphasis, ordered/unordered lists, blockquotes, links and fenced code blocks are supported. Marked’s default GitHub-flavored syntax also handles tables and strikethrough. A line with # Hello followed by a blank line and **Important** text produces an h1 and a paragraph containing strong text. Code fences preserve code as text; syntax highlighting, math rendering and GitHub-specific extensions are not promised.
Allowed raw HTML such as <strong>Hello</strong> can render as formatting. DOMPurify removes scripts, event handlers and unsafe link URLs, while this tool also removes img, style, iframe, form, input, video, audio and source elements. Therefore Markdown images do not appear. Inline styles on allowed elements are not a layout guarantee; the preview is not a sandbox for testing arbitrary HTML or CSS.
A normal HTTPS Markdown link remains a link. Relative links resolve against the preview page here and against the file or destination document after export; check them in the intended location. Links do not fetch the destination merely by rendering, but clicking one navigates away and may disclose normal browser request data. Do not click untrusted links. Input is not automatically saved before navigation.
Copy and Download use the same sanitized HTML fragment shown in the result, not the original Markdown or a full document with head, title and stylesheet. Saved HTML may look different when opened without ToolSprinkle’s CSS. Keep your source separately and apply the destination’s own sanitization and content policy before publishing. For literal HTML text rather than rendered formatting, use HTML entity escaping.
Build a layout sample with placeholder paragraphs, check its word count, then add headings and lists in Markdown preview. Copy your text between tools; nothing is transferred automatically. For literal HTML text, use HTML entity escaping instead of rendering.
Method references: Marked parser documentation and DOMPurify sanitization and integration notes.
Choose the right developer tools workflow before combining tools.
Something not right? Report a problem with this tool. Include the steps, but never passwords or private input.
Escape five HTML-special characters or decode named and numeric references. Compare text escaping with sanitization using local examples.
Developer toolsCount words and characters, inspect selected text, estimate speaking time and find repeated phrases. Set writing goals; your draft stays local.
Text & writingGenerate a Unicode URL slug with hyphens or underscores. Normalize accents, collapse punctuation and preview the result locally without changing your website URLs.
Text & writing