Markdown editor
Write Markdown, inspect a local preview with a defined subset of rules, then copy or download Markdown, safe HTML and semantic TXT.
How to use
Paste text and choose Update preview. Review the preview, HTML shown as text and semantic TXT. Use the copy or download controls for each format: document.md, preview.html or document.txt. Editing the field invalidates the previous result. If excess input or invalid Unicode is refused, the last accepted text remains but processing is blocked until that field is corrected or cleared. No file input or automatic saving.
Input “# Title”, a blank line, then “**Important** & text” produces a heading and emphasis in the preview. TXT is “Title”, a blank line, then “Important & text”. A list “- first” then “- second” gives two TXT lines without generated bullets. Code <x> inside backticks stays <x> in TXT and is escaped in HTML.
Support & limits
This is not every Markdown feature: links, images, autolinks, reference definitions, tables and raw HTML are disabled; their syntax remains text, and emphasis or entities inside it may still interact with the general rules. No external resources or input-supplied JavaScript or CSS, and no syntax highlighting. Downloaded HTML is a restricted tag-and-text fragment, not a complete page or a general sanitizer for other HTML. The preview is built from DTO elements and text without inserting raw HTML. Lists consume multiple levels and may hit the limit before twelve nested lists. Processing is local without upload, storage or automatic copying.
Common questions
How do TXT and Markdown differ, and are original line endings preserved?
Markdown preserves the field value sent to the parser. The browser may already have normalized CR and CRLF to LF, so bytes from before pasting cannot be recovered. TXT follows the tree’s text order: entities are decoded and code content is retained, with LF at list-item boundaries and a blank line at paragraph, heading, block-quote, code-block and horizontal-rule boundaries. Paragraphs in loose lists can add a blank line between items. No numbers, bullets or indentation are generated for nested lists, but their order is preserved. No structural ending is appended to the file; existing text or code line endings remain, so TXT may end with LF. Successful previews and files are not truncated.
Related tools
Text difference checker
Compare original and modified text line by line, showing insertions and deletions in a bounded local worker.
Text to slug
Create a slug that retains Unicode letters and digits with your chosen separator and letter-case policy.
HTML entity encoder and decoder
Encode HTML punctuation or decode semicolon-terminated references, with local processing, a text preview and complete copy and download.