Paste Cleaner
Quickly sanitize your text for clean pasting.
Cleaning Options Explained
Remove JavaScript (<script> tags)
Removes all <script> tags and the code inside them. Useful for security or removing unwanted dynamic behavior from copied web content.
Remove CSS (<style> tags & style attributes)
Removes all <style> tags (and their content) and inline `style="..."` attributes from HTML tags. This helps strip visual styling.
Remove *all* HTML tags
Strips all HTML tags (like <b>, <div>, <p>, etc.), leaving only the plain text content. If checked, it overrides the specific script/style removal options.
Remove hidden/control characters
Deletes non-printable characters often invisible in editors (like null characters, zero-width spaces) that can sometimes cause issues when pasting. Standard spaces, tabs, and newlines are usually kept unless other options remove them.
Replace new lines with spaces
Converts all line breaks (single or multiple) into a single space, effectively making the text one long line. Useful for pasting into fields that don't support multi-line text.
Trim leading/trailing whitespace
Removes any spaces, tabs, or newlines from the very beginning and very end of the entire text block.
Remove extra spaces
Replaces sequences of two or more spaces within the text with a single space. Good for cleaning up inconsistent spacing.