Prompt Cleaner

Clean quotes, bullets, and messy prompt text.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Paste prompt text copied from documents or chat apps and get a clean version: curly quotes straightened, bullet characters turned into hyphens, non-breaking spaces replaced and spacing normalised. It changes characters only, not your wording.

How to use

1
Step 1
Paste the messy text.
2
Step 2
Press Run.
3
Step 3
Copy the cleaned prompt.

How it works

Lines starting with -, * or • (with any leading space) become a single '- ' bullet. Curly double and single quotes become straight quotes, and non-breaking spaces (U+00A0) become normal spaces. The result is then passed through the same whitespace clean-up as the prompt formatter.

Worked example

Pasted bullets and smart quotes

Input
• “Quote” one * it’s two - three x End
Output
- "Quote" one - it's two - three x End
Walkthrough
All three bullet styles become '- ', the curly quotes are straight, the hidden non-breaking space between three and x is a normal space, and the extra blank lines collapse to one.

Limitations

  • Fenced code blocks are not protected; their indentation is flattened too.
  • Numbered lists, em dashes and other special characters are left as they are.
  • A line that starts with * for Markdown emphasis would be turned into a bullet.

Questions

How do I remove smart quotes from text?
Paste it and press Run. Curly quotes become straight ones.
What is a non-breaking space?
An invisible character (U+00A0) that looks like a space but behaves differently. The tool converts it to a normal space.
Does it change the meaning of my prompt?
No. Only characters and spacing are normalised.
How is it different from the prompt formatter?
The cleaner also fixes quotes, bullets and non-breaking spaces; the formatter only fixes whitespace.

Features

  • Straightens quotes
  • Normalises bullets
  • Fixes hidden spaces
  • Local only

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • TensorFlow 2.0 Complete Course

    freeCodeCamp.org

    Practical ML stack context next to AI utilities.

    Watch on YouTube
  • Machine Learning for Everybody

    freeCodeCamp.org

    Accessible ML survey for AI calculator and metric tools.

    Watch on YouTube
  • Data Index

    Math is Fun

    Stats primers when reading ML evaluation outputs.

  • DeepLearning.AI

    DeepLearning.AI

    Courses and explainers for modern AI tooling.