Prompt sanitizer

Clean text for AI tools by removing invisible characters, normalizing whitespace, and standardizing line endings. Everything runs locally.

Local-only No uploads Fast

Prompt sanitizer

Paste or type text to remove invisible characters, normalize whitespace, and clean prompts locally.

Sanitization options

Input

Input: 0 chars

Output

Output: 0 chars Removed: 0
Advertisement
Advertisement Ads are disabled in this environment.

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

Does the prompt sanitizer upload my text?

No. All text processing happens locally in your browser.

What hidden characters are removed?

Zero-width characters like U+200B, U+200C, U+200D, U+2060, and U+FEFF.

Can I normalize smart quotes and dashes?

Yes, enable the option to replace smart quotes and em dashes with standard characters.

Will this change my content meaning?

No, it only normalizes formatting and removes invisible characters.

Is this safe for long prompts?

Yes, the tool is optimized for large inputs and updates quickly.

Learn more in the guides: Clean ChatGPT prompt and Remove invisible characters.