Streaming live at 10am (PST)

Clean Source Code

Hi, before I started using Webflow I came across videos and articles discussing Webflow’s “dirty code”. I didn’t really think much of it until I decided to “View Page Source” on my website That’s when I noticed all of my code was in a single line. So I decided to view the page source of websites on Webflow showcase so see if it looked the same but it didn’t. Every website on their had code that looked nice and neat. So I was wondering if anybody could explain to me how to fix that.

Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Hi @96cruzmiguel, thanks for your post.

In the Hosting Tab of project settings, you can enable or disable the minification of the html:

Shared with CloudApp

After making a change, republish the site for the change to take effect.

More info on the features under Advanced Publishing Options: Connect a custom domain | Webflow University

I hope this helps