String Utilities 工具已更新 1 个月前

Markdown Prompt Cleaner

Paste a raw prompt full of Markdown, code blocks, HTML, emojis, and links, tick what you want removed, and copy a clean, plain-text prompt ready for any AI model. The Markdown conversion runs server-side for accuracy; the other cleanups run instantly in your browser.

永久免费 易于使用 立竿见影的效果 私密且安全

使用 Markdown Prompt Cleaner

Markdown 提示符清理工具

去除 Markdown 标记、代码块、HTML、表情符号和 URL,将杂乱的提示语转换为干净、适合大型语言模型处理的纯文本。

原始提示词

将未格式化的版本粘贴到这里

应删除的内容

所有选项默认均处于开启状态

清理提示词

可直接粘贴到任何AI模型中

阅读内容

了解该工具的工作原理以及何时使用它。

How to Use This Tool

Prompts copied from documents, websites, or chat histories are often full of formatting that LLMs read as noise. This tool strips it down to clean plain text.

1. Paste your prompt

Paste or type the raw prompt into the editor. Use Sample to load an example that exercises every option, or Paste to read your clipboard.

2. Pick what to remove

Toggle any of the five options:

  • Remove markdown — converts Markdown to plain text (headings, bold, italics, links, lists, inline code). Runs server-side with a full CommonMark engine.
  • Remove code blocks — deletes fenced ``` code blocks entirely.
  • Remove HTML — strips HTML tags but keeps the text between them.
  • Remove emojis — strips emoji characters and skin-tone modifiers.
  • Remove URLs — removes http(s):// and www. links.

3. Clean and copy

Click Clean prompt. The output updates with a character, word, and token estimate, then click Copy clean prompt.

Features

  • Five independent cleanup toggles, composable in one pass
  • Accurate Markdown-to-text conversion via the CommonMark engine
  • Character, word, and approximate token count for the output
  • Sample, Paste, Clear, and one-click Copy controls

常见问题解答

针对用户在信任结果之前常提出的疑问,提供简短解答。

It turns a messy, formatting-heavy prompt into clean plain text so an AI model does not waste tokens or attention on Markdown syntax, code fences, or HTML tags.

Only when you enable Remove markdown. The Markdown-to-text conversion runs through the tool\'s existing Markdown endpoint over HTTPS; the other cleanup options run entirely in your browser.

Your text is converted with a full CommonMark parser, then HTML tags are stripped and HTML entities are decoded, producing readable plain text.

Yes. When enabled, the whole fenced block (including its content) is removed. Disable the option if you want to keep code as text.

The Markdown conversion accepts up to 200,000 characters. For huge inputs, clean up in sections.

评论 (0)

用于用户讨论、边界情况及后续建议。
发表评论
您的评论提交后将公开展示。
目前尚无评论。快来发表第一条评论吧!
请告诉我们!
报告此工具的问题

请描述您遇到的问题,以便我们进行调查并改进该工具。

什么最有帮助
请提供输入内容、预期结果、实际结果、浏览器/设备信息,如有帮助,请附上截图。
“截图”按钮会截取浏览器中的页面,并将生成的图片作为附件添加到此表单中。
整页截图
通过 newisty 在您的浏览器中捕获。
尚未截取屏幕截图。
工具 报告