Toolpuffin

    Loading...

    Up and down to choose, Enter to open, Esc to close.

    Paste a prompt that was copied from a document, a chat or a web page and clean it up. Remove extra spaces and empty lines, straighten curly quotes and delete invisible characters, then see the estimated tokens before and after.

    Features

    • Trim lines and turn several spaces into one
    • Keep, limit or remove empty lines
    • Remove invisible characters such as zero-width spaces
    • Estimated tokens before and after

    How to use Prompt Cleaner

    1. Paste your prompt or text.
    2. Choose what to clean.
    3. Copy the cleaned text.

    Frequently asked questions

    Does cleaning change the meaning of my prompt?

    No words are changed. Only spaces, empty lines, quotes and invisible characters are touched. In text where spacing matters, such as code or a table, keep the empty lines and spaces option off.

    How accurate are the token numbers?

    They are a rough estimate, about 4 characters per token for English. Each AI model counts in its own way, so the real number can differ.

    What are invisible characters?

    Characters you cannot see, such as zero-width spaces and soft hyphens. They often come along when you copy text from a web page or a document.

    Is my text sent anywhere?

    No. The text is cleaned in your browser and nothing is stored or sent.

    Guides

    Related tools