Help & Support
Send Feedback
Text Cleaner
Powerful and customisable formatting clearance.
1,804 users
Works with
Install
Overview
Text Cleaner is essentially a much more sophisticated version of the ‘clear formatting’ command which allows the user to preserve things like italics and bold. It also removes line breaks, multiple spaces and other annoying features often present in text copied from elsewhere. This leaves headings and paragraphs that conform to the document’s styles.

**Important**

1. Paragraph-level attributes such as line spacing and indent are only cleared when entire paragraphs are selected.

2. Text Cleaner replaces line breaks with spaces. This splits words in half if they contain a line break mid-word. This is unavoidable.

3. Line breaks in copied text are often actually paragraph breaks, so be sure to select this option if line breaks remain after cleaning.

4. The options to remove various annoyances are based on complicated scripting. It is recommended that the user disables these when they are not needed to make the add-on run more efficiently.

5. Removing links also removes underlining in any selected text, even if that text is not a link. This is an idiosyncrasy of Google App Scripts. This is why Text Cleaner will not allow you to select both ‘preserve underling’ and ‘remove links’.

6. Text Cleaner does not remove highlighting/background colour from list bullets or numbers. This has to be done manually where it exists.
Reviews
A User of Text Cleaner
July 29, 2019
The 'Smarten Quotes' option that I needed is flawed. I was using it with tabs at the start of lines, but if there are tabs then the smart quotes come out wrong. It goes something like this: <tab><closing quote><sentence><closing quote> I wouldn't have thought that a whitespace character would have such an effect but I guess my use case wasn't tested.
Submit reply
Cancel
A User of Text Cleaner
July 26, 2019
Amazingly useful app! So glad I found it! If I could request a feature it would be a shortcut :)
Submit reply
Cancel
A User of Text Cleaner
January 10, 2019
Fixes what I've had to do manually for years. Opened up new possibilities for projects that were otherwise impossible from a time standpoint.
Submit reply
Cancel
A User of Text Cleaner
April 28, 2018
As other users have noted, please do read the instructions before complaining! The tool works as advertised. A welcome addition would be the ability to remove empty paragraphs (and paragraphs that only contain whitespace). Adding blank paragraphs before and after titles is one of those pernicious habits from users who do not understand headings, and removing those extra marks is not easy to do from the UI. See this snippet, for example: https://stackoverflow.com/questions/39962369/how-to-find-and-remove-blank-paragraphs-in-a-google-document-with-google-apps-sc/50073932#50073932
Submit reply
Cancel
Jonathan Dance
September 15, 2017
It seems to me that as long as you follow the instructions marked **important** this tool works really well
Submit reply
Cancel
A User of Text Cleaner
September 6, 2017
Most of the options do not work. If I selected clear line breaks and then tell it to clean it, nothing happens. If I select clear line/paragraph breaks independently of the check boxes, it works but then it is no better than the other add-ons. It is actually worse because it is harder to select that one line from the list than it is in the other programs.
Submit reply
Cancel
A user of Text Cleaner
December 12, 2017
does it clean your whole computer or just google.
A user of Text Cleaner
September 19, 2017
Sorry it didn't work for you. The clear line breaks option only works on text styled 'normal'. This is to prevent headings being destroyed by this function.
A User of Text Cleaner
June 1, 2017
Excellent and extremely useful. I think even Microsoft Word doesn't include most of the features that this extension provides.
Submit reply
Cancel
1-7 of 7
Additional information
Search
Clear search
Close search
Google apps
Main menu