Line Counter

Line Counter is a free online tool that provides line counter editing, HTML conversion, word/reading-time metrics, TOC extraction, and text diffing. It supports Markdown, HTML, Plain Text inputs and outputs using marked, Turndown, DOMPurify, and jsdiff with live previews and instant export. All processing runs locally inside your browser tab with zero server uploads, no sign-up, and full offline support, plus direct AI agent access via the text_clean_extract MCP tool.

Traitement 100% local sans serveur ni compte.

Spécifications techniques

Category
Texte
Formats
Markdown, HTML, Plain Text
Runtime
Traitement 100% local sans serveur ni compte.
Engine
word-markdown-suite
MCP
text_clean_extract

Comment utiliser: Line Counter

  1. Paste Markdown, HTML, or prose into Line Counter (two panes for diff tools).
  2. Inspect live word/character counts, sanitized HTML preview, or inline diff highlights.
  3. Copy the converted Markdown/HTML or download the document locally.

Questions fréquentes

Is rendered Markdown HTML sanitized against XSS?
Yes. All Markdown-to-HTML previews pass through DOMPurify before rendering.
How is reading time estimated in Line Counter?
Reading time divides total word count by standard average reading speed (~200–225 WPM) alongside sentence and paragraph metrics.
Are drafts or diff comparisons uploaded anywhere?
No. Markdown parsing, Turndown HTML conversion, and diffing run locally in JavaScript.

Outils associés