Streaming live at 10am (PST)

Cleaning up exported HTML Code


#1

While exported code from Webflow is not "spaghetti" by any stretch, I would not necessarily call it clean. It is difficult to edit the downloaded code, as it is not formatted with the spaces necessary to make it easily readable by humans. I wish that this were the case. However, in the meantime, there is an awesome little tool called "Dirty Markup" which adresses this issue quite nicely. Simply open your downloaded page in your favorite text/html editor, select all and cut. Then open up http://www.dirtymarkup.com/ in your browser, and paste the contents into there. Then simply click on the "CLEAN" button, and viola! You can copy + paste the cleaned up code back into your document and save. Thank you @claviska


#2

you can also "beautify" your code in your hosting settings:


#3

Awesome, thanks so much! :smiley:


#4