HubSpot drag and drop template layouts can be converted into HTML/HubL versions using Design Manager's Clone to file feature. This feature can be used if you need more control over the markup or if you want to reverse engineer any HubL modules.
While you can make an HTML version of a template, it is not currently possible to convert that template back into the drag and drop format.
To clone a template to file:
- Navigate to Content > Design Manager
- Locate the template layout that you would like to convert to HTML
- Click Actions > Clone to file
- Choose a folder and name the .html version of the template