- Homepage
- Resources
- Our resources
- Restore a deleted theme in HubSpot
Download our free guide
Restore your HubSpot theme in 3 easy steps
Just imagine: you're cleaning up the HubSpot themes available in your customer's account and you're deleting themes, renaming them... You'd think there'd be no consequences? And no, all the site's content is deleted.
Don't panic - it's happened to us too! That's why we've created a quick tutorial to help you restore and recover your content in just 3 steps.

Our tips for avoiding content loss
Enable automatic backups
To keep track of each modification and to be able to go back easily.
- Go to HubSpot's Design Manager
- Open the file or theme you're modifying
- Before each major modification, click on "Actions > Clone" to duplicate the file or theme
- You can also activate a regular backup via your GitHub environment
Our tips for avoiding content loss
Document customizations in GitHub
Centralize your personalization history to avoid losing information.
- Create a dedicated documentation folder for each theme
- Describe the modules created, the CSS/JS modifications, the files affected and the associated logic.
- Archive old versions of modified files (in a /versions/ folder, for example).
- Connect your GitHub repository to HubSpot for full versioning


Our tips for avoiding content loss
Set up a validation process
To avoid careless mistakes.
- Define an internal process for validated deletion: Request > Verification of the file concerned > Reference validation > Effective deletion
- Integrate this process into a management tool (for us, it's Notion)
- Create a template for a deletion request (you can add the following elements to it: Name of file, justification, potential impact, link to a backup version)
- Inform the team
Our tech blog
Stay up to date!
Like all good developers, we keep up to date and test new tools to keep
up to date. We share with you what we learn on a daily basis.