String Utilities Công cụ đã được cập nhật 1 tháng trước

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.

Luôn miễn phí Dễ sử dụng Kết quả ngay lập tức Riêng tư và an toàn

Sử dụng Markdown Prompt Cleaner

Công cụ dọn dẹp lời nhắc Markdown

Loại bỏ các thẻ Markdown, khối mã, HTML, biểu tượng cảm xúc và URL để biến một lời nhắc lộn xộn thành văn bản thuần túy, gọn gàng và sẵn sàng cho mô hình ngôn ngữ lớn (LLM).

Lời nhắc thô

Dán phiên bản lộn xộn vào đây

Cần loại bỏ những gì

Tất cả các tùy chọn đều được bật theo mặc định

Lệnh sạch

Sẵn sàng để dán vào bất kỳ mô hình AI nào
Liên kết công cụ
Đã sao chép vào khay nhớ tạm.
Hãy giúp cải thiện công cụ này

Đọc nội dung

Tìm hiểu cách thức hoạt động của công cụ này và khi nào nên sử dụng nó.

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

Câu hỏi thường gặp

Các câu trả lời ngắn gọn cho những thắc mắc mà người dùng thường đặt ra trước khi tin tưởng vào kết quả.

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.

Bình luận (0)

Dành cho các cuộc thảo luận của người dùng, các trường hợp ngoại lệ và các mẹo bổ sung.
Để lại bình luận
Bình luận của bạn sẽ được hiển thị công khai sau khi gửi.
Chưa có bình luận nào. Hãy là người đầu tiên bình luận!
Hãy cho chúng tôi biết!
Báo cáo sự cố liên quan đến công cụ này

Hãy mô tả vấn đề mà bạn gặp phải để chúng tôi có thể tìm hiểu và cải thiện công cụ này.

Điều gì hữu ích nhất
Vui lòng cung cấp thông tin về dữ liệu đầu vào, kết quả mong đợi, kết quả thực tế, trình duyệt/thiết bị và ảnh chụp màn hình (nếu có thể).
Nút chụp màn hình sẽ chụp lại trang web trong trình duyệt và đính kèm hình ảnh được tạo ra vào biểu mẫu này.
Ảnh chụp màn hình toàn trang
Được ghi lại trên trình duyệt của bạn bằng newisty.
Chưa có ảnh chụp màn hình nào được chụp.
Công cụ Báo cáo