HTML Cleaner Online
With the help of our service, you can convert any text from Word to html markup, as well as add and remove tags from html code. The resulting text is easy to use for publishing content in various CMS. You can also use our visual editor for instant viewing and editing.
Description of the HTMLCleanup service functionality
Our service allows you to turn HTML code into a user-friendly readable text, suitable for publication as a regular text document or using CMS editors. A visual editing function is also available.
The service provides 16 cleaning options that can be used in various combinations with each other.
1. Styles - removing css styles for individual tags and the entire document.
Example 1:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Example 2:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet
2. Classes and ID's - removing css selectors of classes and IDs.
Example 1:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.Aenean commodo ligula eget dolor.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet. Aenean commodo ligula eget dolor.
Example 2:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet. Aenean commodo ligula eget dolor.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet. Aenean commodo ligula eget dolor.
3. Span tags - removing span tags.
Example 1:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit ametLorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit ametLorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
4. Comments - removing comments from the html code.
Example 1:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
5. Empty-attributes - removing empty attribute selectors.
Example 1:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet. Aenean commodo ligula eget dolor.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet. Aenean commodo ligula eget dolor.
Example 2:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet. Aenean commodo ligula eget dolor.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet. Aenean commodo ligula eget dolor.
6. Empty new lines - delete empty lines.
Example 1:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
7. Empty tags - delete empty tags.
Example 1:
Source text:
Text
After processing:
Text
Example 2:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Text text.
Text text.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Text text.
Text text.
8. Non-breaking spaces - removing non-breaking spaces ( )
Example 1:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.Lorem ipsum dolor.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.Lorem ipsum dolor.
9. Links - removing links (without removing binding elements).
Example 1:
Source text:
Loremipsum dolor sit amet.
Loremipsum dolor sit amet.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
10. Tables - deleting tables.
Example 1:
Source text:
Table1
Table2
Lorem ipsum | Lorem ipsum2 |
Ipsum Lorem | Ipsum Lorem2 |
Table3
After processing:
Table1
Table2
Table3
11. Forms - deleting input form tags.
Example 1:
Source text:
Lorem ipsum dolor sit amet.
Aenean commodo ligula eget dolor.
After processing:
Lorem ipsum dolor sit amet.
Aenean commodo ligula eget dolor./p>
12. Images - delete images.
Example 1:
Source text:
Text
After processing:
13. Tags with whitespace - removing tags with spaces.
Example 1:
Source text:
Text
Text
Text
Text
After processing:
Text
Text
Text
Text
14. All tag attributes (except href and src) - removing tag attributes (except href and src).
Example 1:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Text
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet. Aenean commodo ligula eget dolor.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Text
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet. Aenean commodo ligula eget dolor.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
15. JS code scripts - removing js scripts
Example 1:
Source text:
After processing:
Example 2:
Source text:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
After processing:
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
16. All tags - delete all html tags.
Example 1:
Source text:
Title of text
1.Lorem ipsum Lorem ipsum.
2.Lorem ipsum dolor sit amet
- Text1
- Text2
- Test1
- Test2
Title of paragraph
3.Lorem ipsum dolor sit amet.
Image
Lorem ipsum | Lorem ipsum2 |
Ipsum Lorem | Ipsum Lorem2 |
4.Lorem ipsum dolor sit amet.
After processing:
The "Find and replace in HTML code" function
The function allows you to find and replace text fragments and tags in the html code with those specified by the user. The replacement is triggered in the html editor, the changes in which are transmitted to the visual editor.
Privacy Policy
HTMLCleanup uses cookies to improve user interaction and collect analytics on anonymous visitors. All user operations are performed on the client side and are not stored on our servers. We use Google Analytics to collect anonymous statistics and Google Adsense to serve personalized ads.