Prepare the input
Paste the complete Markdown section and inspect unclosed code fences first, because a missing closing fence causes later lines to be treated as code.
Normalize Markdown without touching fenced code
Remove trailing horizontal whitespace, repair missing heading spaces, optionally standardize unordered bullets, and compact excessive blank lines while preserving fenced code content. This is a conservative text cleaner, not a complete Markdown parser, formatter, linter, renderer, or CommonMark compliance validator.
Counting and transformations run locally. Nirmion does not send the text in this workspace to an API.
Product guide
Paste the complete Markdown section and inspect unclosed code fences first, because a missing closing fence causes later lines to be treated as code.
Bullet normalization affects only line-start plus or asterisk markers outside fences. Blank compaction limits long empty runs while preserving paragraph separation.
Review tables, nested lists, hard-break spaces, front matter, and dialect-specific extensions in the destination parser before replacing a source file.
How it works
The cleaner walks physical lines and toggles a fenced-code state at triple-backtick or triple-tilde boundaries. Outside fences it trims trailing tabs and Unicode horizontal spaces, inserts a missing space after one to six heading marks, and optionally maps plus or asterisk bullets to dashes. Blank runs can then be compacted. The operation is linear over at most 250,000 characters and produces at most one million characters; no HTML rendering or script execution occurs. The operation runs in this browser tab, applies explicit bounds before expensive work, and does not send workspace text to a Nirmion API.
Useful when
Use conservative cleanup when whitespace noise and mixed bullet markers are the known issues, then render the result in the real parser.
Questions answered
Practical boundaries matter with text tools. These answers explain what is measured, what is retained, and when a manual review is still needed.
No. It performs documented line cleanup and does not build an abstract syntax tree or report every syntax error.
Content between recognized triple-backtick or triple-tilde fences is preserved. An unclosed or indented dialect-specific fence may not behave as expected.
Yes. Some dialects use them for hard breaks, so review rendered output whenever line-break behavior matters.
Privacy and retention
Nirmion performs these operations with browser JavaScript. The workspace does not call the catalogue API with your source text, and completed-job content is kept only in this component memory for re-download.
A downloaded file remains in your browser downloads, device storage, backups, and any location where you share it. Clear or close the page when working on a shared device, and avoid pasting secrets into extensions or third-party clipboard managers.
Tool details
Nirmion Markdown Cleaner removes trailing horizontal whitespace, repairs compact heading markers, optionally standardizes simple unordered bullets, and reduces excessive blank lines. Recognized fenced code content is preserved so documentation cleanup does not blindly rewrite examples. The cleaner walks physical lines and toggles a fenced-code state at triple-backtick or triple-tilde boundaries. Outside fences it trims trailing tabs and Unicode horizontal spaces, inserts a missing space after one to six heading marks, and optionally maps plus or asterisk bullets to dashes. Blank runs can then be compacted. This makes the behavior inspectable and repeatable instead of presenting an unexplained result.
Output downloads as text_nirmion_tools_markdown_cleaned.md for source up to 250,000 characters. The page explains hard-break spaces, unclosed fences, parser dialects, tables, front matter, and why the result still needs destination rendering. The operation runs in this browser tab, applies explicit bounds before expensive work, and does not send workspace text to a Nirmion API. Downloading clears the active workspace while the latest three completed results remain available in this tab for re-download.