Copying responses from ChatGPT, Claude, DeepSeek, or Gemini into Microsoft Word, Google Docs, corporate emails, Slack, or CMS often introduces unwanted asterisks (**bold**), hashes (# Header), code backticks, and robotic polite filler. DeMkDown parses text into an Abstract Syntax Tree (AST) to reliably strip formatting without regex corruption.
Built on unified and remark AST. Unlike naive regular expressions that break on inline formulas ($x * y * z$) or code symbols, DeMkDown accurately parses hierarchical Markdown nodes.
Eliminates conversational AI filler phrases in both English and Chinese: opening preambles ("Sure, here is..."), transition fluff, and trailing boilerplate ("Hope this helps!").
Converts pipe tables into neatly aligned monospace plain text (with East Asian CJK double-width calculation), Excel-ready TSV, or standard CSV format.
Zero telemetry. No sensitive documents, company prompts, or personal texts are ever sent to remote servers. All AST parsing runs directly inside your browser.
| Syntax Type | Input Example | Stripped Output | Behavior & Options |
|---|---|---|---|
| Headings | # Title / ### Section | Title / Section | Removes leading hashes and trailing underlines while preserving text hierarchy |
| Emphasis | **bold** or *italic* | bold or italic | Strips asterisks and underscores without corrupting mathematical multiplication |
| Inline Code | `npm install` | npm install | Removes backticks while preserving technical identifiers and variable names |
| Code Blocks | ```ts\ncode\n``` | code | Configurable: Unwrap code content, strip completely, or preserve triple backticks |
| Blockquotes | > Important quote | Important quote | Removes angle brackets (>) and un-indents nested quotations |
| Tables (GFM) | | Item | Price | | Item Price | Transforms pipe tables to CJK-aligned text, TSV (Excel/Sheets), CSV, or Markdown |
| Lists | - Item 1 / 1. Step 1 | Item 1 / Step 1 | Optionally remove bullet points or numbered markers for continuous reading flow |
| AI Fluff & Tone | Certainly! Here is... | [Removed] | Filters robotic pleasantries, disclaimer notices, and closing boilerplate |
Common questions about stripping Markdown, cleaning AI outputs, and data privacy.
Simply copy the AI response and paste it into DeMkDown. The tool parses the text into an Abstract Syntax Tree (AST) in real time and strips headings, bold asterisks, blockquotes, and code fences, producing clean plain text ready to paste into Word, Google Docs, Slack, or email.
Regex-based cleaners use simple pattern matching that often corrupts text containing asterisks (e.g., mathematical formulas like $a * b * c$), C/C++ pointer dereferences, or nested code blocks. DeMkDown uses a full AST parser (Remark/Unified) that understands nested document structure, safely extracting plain text without false deletions.
DeMkDown includes an AI Tone Cleaner engine with benchmarked patterns for English and Chinese. It detects and strips opening pleasantries ("Certainly! Here is...", "好的,以下是为您整理的内容:"), conversational transitions, and trailing boilerplate ("Hope this helps!", "Let me know if you have questions."), leaving only pure substantive content.
DeMkDown offers 4 table output formats: Aligned Plain Text (computes character display widths, including East Asian wide characters, to ensure column alignment in monospace font), TSV (Tab-Separated Values for pasting directly into Excel or Google Sheets), CSV (Comma-Separated Values), or Markdown preservation.
Yes, 100%. DeMkDown runs entirely client-side inside your web browser. No text, prompts, or documents are ever uploaded to remote servers, and there is zero tracking or telemetry. It is completely safe for confidential business documents, code, and proprietary data.
Yes! DeMkDown provides a serverless Cloudflare Pages Functions API endpoint at POST /api/demark that accepts JSON payloads with Markdown text and configuration options, returning clean plain text and detailed conversion metrics.