Prompt sanitizer
Clean text for AI tools by removing invisible characters, normalizing whitespace, and standardizing line endings. Everything runs locally.
Prompt sanitizer
Paste or type text to remove invisible characters, normalize whitespace, and clean prompts locally.
Input
Output
How it works
1. Paste
Add your prompt or text into the input field.
2. Clean
Enable the options you need to sanitize the text.
3. Copy
Copy or download the cleaned output instantly.
Need help? See: Clean ChatGPT prompt and Remove invisible characters.
Examples
Invisible characters
Input: hello\u200b world
Output: hello world
Smart quotes & dashes
Input: “Hello — world”
Output: "Hello - world"
Line endings
Input: Line 1\r\nLine 2
Output: Line 1\nLine 2
FAQs
No. All text processing happens locally in your browser.
Zero-width characters like U+200B, U+200C, U+200D, U+2060, and U+FEFF.
Yes, enable the option to replace smart quotes and em dashes with standard characters.
No, it only normalizes formatting and removes invisible characters.
Yes, the tool is optimized for large inputs and updates quickly.
Learn more in the guides: Clean ChatGPT prompt and Remove invisible characters.