PHP / MySQL → static HTML

Convert a dynamic PHP website to static HTML

Old PHP sites and custom CMSs are expensive to keep alive: PHP upgrades, database patches, a server to watch. If the content rarely changes, convert the site to static HTML and retire the stack behind it.

Try it now — no signup needed · Free forever for 1 website · Watch the 2-min demo

The case for freezing a PHP site

Legacy PHP applications — a hand-built CMS, an old CodeIgniter or Laravel marketing site, a Joomla or Drupal install nobody wants to upgrade — carry real maintenance cost and security risk. Once a site is mostly read-only, a static snapshot keeps it online with none of that:

  • No PHP version to upgrade and no database to back up or patch.
  • Hosting on a CDN or object storage for a fraction of the cost.
  • No login pages or query endpoints for attackers to probe.

How the conversion handles dynamic pages

The crawler requests each page exactly as a visitor would, so templates, includes and database lookups are all resolved into final HTML. It follows internal links (including pagination links you configure), downloads referenced CSS, JavaScript, images, fonts and videos, and rewrites URLs so the result works from any domain — or from a subfolder if you enable relative links.

Anything that must respond to user input at runtime needs a substitute: map forms to a live endpoint, and replace search, logins or shopping carts with hosted services or client-side code.

How to do it with Static Converter

  1. 1
    Add the siteEnter the live URL and choose a full crawl.
  2. 2
    ConfigureEnable relative links, minification and WebP; map forms; add SEO fallbacks for pages missing titles or descriptions.
  3. 3
    ConvertWatch the live log; re-run later with "skip existing pages" for fast incremental updates.
  4. 4
    Deploy and retireHost the ZIP anywhere, switch DNS, then decommission the old server.

Frequently asked questions

Can a PHP website be converted to static HTML?
Yes, as long as the pages you need are reachable by links and don't depend on per-visitor input. Static Converter requests each page, saves the rendered HTML and bundles every asset it references.
What happens to my contact form?
Map it to a live endpoint (a form service or a small API). The converter rewrites the form to submit via fetch(), with optional reCAPTCHA v3.
Can I keep part of the site dynamic?
Yes. Convert the public, read-mostly pages and keep the dynamic parts (checkout, account area) on a subdomain.

Ready to go static?

Add your site, run the wizard and download an optimized build in minutes.

🚀 Start free See pricing