Markdown Linter
Flag Markdown issues with line numbers and rule names.
What is MD Linter?
A Markdown linter that flags common style problems (trailing spaces, inconsistent headings, missing blank lines) with line numbers and rule names.
How it works
A set of client-side rules scan the document line by line; each finding includes the line number, rule, and a one-click fix where auto-fixable.
- Enter your input. Type or paste your input into the field above — the tool responds instantly.
- Review the result. Output updates live as you type. Everything runs entirely in your browser.
- Copy or download. Use the Copy button to grab the result, or Download to save it as a file.
Examples
Pre-PR document check
Lint a Markdown file for common issues — inconsistent heading hierarchy, trailing whitespace, and broken list indentation.
Common mistakes
Rules are opinionated
Lint rules reflect common style guides — tune the enabled checks to your project before enforcing them.
Frequently asked questions
What rules are checked?
Heading levels, spacing, list consistency, trailing whitespace, and duplicate headings, among others.
Can it auto-fix issues?
Simple issues like trailing whitespace are fixable in one click; structural ones are reported with line numbers.