Your hosting plan lapsed, a botched update wiped the database, or the freelancer who built your site disappeared along with the logins. You go looking for a backup and there is none. Before you start rewriting pages from memory, check the Internet Archive. If your site was public for more than a few months, there is a good chance you can restore a website from Wayback Machine snapshots, even without a backup, and get most of your text, images, layout and page structure back.
This guide covers the full recovery the way we would handle it on a client project: checking what the archive actually captured, pulling a complete list of your old URLs, downloading clean files without the archive toolbar, and rebuilding without throwing away the search traffic you already earned. It also covers what the archive cannot give back, so you know where the manual work starts.
Key takeaways
- The Wayback Machine saves public pages as visitors saw them, so you recover the front end: text, images, CSS and links. Databases, user accounts, orders and server code are never archived.
- Pick the last clean snapshot from before the site broke, expired or got hacked. Later captures often show a parking page or injected spam.
- List every archived page with the CDX API or a wildcard search, then add
id_after the timestamp to download each page without archive code. - WordPress sites have shortcuts: archived sitemaps, RSS feeds and the uploads folder can hand you most of your posts and media in bulk.
- Keep your original URLs, or 301 redirect the ones that change, so old backlinks and rankings have somewhere to land.
- Only restore content you own. Reviving an expired domain’s old content just to rank it can break Google’s spam policies.
Table of contents
- What Is the Wayback Machine?
- Can You Recover a Deleted Website From the Wayback Machine?
- What Can and Cannot Be Restored From an Archived Website
- Before You Start: Ownership, Copyright and Expired Domains
- The 8-Step Wayback Machine Restore Process
- Step 1: Choose the Right Snapshot
- Step 2: Pull a Complete List of Your Old URLs
- Step 3: Download the Website From the Wayback Machine
- Step 4: Clean the Recovered Files
- Step 5: Decide How You Will Rebuild
- Step 6: Keep Your Original URLs
- Step 7: Fix Broken Links, Images and Forms
- Step 8: Relaunch and Ask Google to Recrawl
- Restoring a WordPress Site From the Wayback Machine
- Restore It Yourself or Use a Restoration Service?
- Common Mistakes That Ruin a Wayback Machine Restore
- How to Make Sure You Never Need the Wayback Machine Again
- Wayback Machine Recovery Questions: Legality, Downloads, WordPress, Images and Rankings
- Your Site Is Probably Not Gone for Good
What Is the Wayback Machine?
The Wayback Machine is the public web archive run by the Internet Archive, a nonprofit digital library based in San Francisco. Its crawlers visit public pages and save a snapshot: the HTML, images, stylesheets and scripts exactly as they were served on that date. Each snapshot carries a 14-digit timestamp in its address, so a capture of your homepage from January 15, 2023 lives at a URL like web.archive.org/web/20230115000000/https://yourdomain.com/.
The scale is hard to picture. In October 2025 the Internet Archive announced it had passed one trillion archived web pages. That still does not mean every page of every site is in there. How often a site gets crawled depends on how many links point to it and how often it changes, so a popular blog may have hundreds of captures while a small local business site has a handful. Google sends people there too: after retiring its own cached pages in 2024, it added Wayback Machine links to the About this result panel next to search results.
One distinction matters more than any other for recovery: a Wayback Machine snapshot is a copy of what a visitor saw, not a backup of what ran on the server. That single fact explains almost everything you can and cannot restore.
Can You Recover a Deleted Website From the Wayback Machine?

In most cases, yes, at least partly. Whether you need to recover a deleted website, a site lost to an expired domain or one wiped out by a hack, the same four factors decide how much comes back:
- How long the site was online. A site that lived for years and earned backlinks gets crawled far more often than one that was live for three months.
- Whether the pages were public. Anything behind a login, a paywall or a checkout was never visible to the crawler.
- How the pages were built. Server-rendered pages, the kind most WordPress sites produce, archive well. Sites that build their content with JavaScript after the page loads, such as some single-page apps, often archive as empty shells.
- Whether the archive is allowed to show them. Site owners can ask the Internet Archive to exclude a domain, and excluded sites do not display their captures.
You can check your odds in two minutes. Go to web.archive.org, enter your domain and open the calendar view. Dense rows of dots spread over many months are a good sign. A few isolated captures mean more of the site will be rebuilt by hand. As the Internet Archive’s own guide to using the Wayback Machine explains, the dot colors tell you what the crawler got back: blue for a normal page, green for a redirect, orange for a client error such as a 404 and red for a server error. Blue is what you want.
To check a specific page without clicking through the calendar, the availability API returns the closest capture as plain data:
https://archive.org/wayback/available?url=yourdomain.com/about/
When we ran it on this guide’s own address, it returned a capture from July 12, 2026 with a 200 status, which is exactly what you want to see for the pages you plan to recover.
What Can and Cannot Be Restored From an Archived Website
Set expectations before you start, because this is where most disappointment comes from. Here is what an archived website usually gives back:
| Site element | Recoverable? | What to expect |
|---|---|---|
| Page text and headings | Yes | Usually complete for every page that was captured |
| Title tags and meta descriptions | Yes | They sit in the archived HTML head, so you can copy them into your SEO plugin |
| Images | Often | Large galleries, lazy-loaded images and files hosted on a CDN are the usual gaps |
| CSS and layout | Usually | Good enough to reference the design, rarely worth reusing as-is |
| Navigation and internal links | Yes | Links are rewritten to archive addresses and must be converted back |
| JavaScript features | Partly | Sliders and menus may work, anything that calls the server will not |
| PDFs and downloads | Sometimes | Only files that were linked from a page and crawled |
| Contact forms, site search, carts | No | Must be rebuilt with new plugins or code |
| Database content (users, orders, settings) | No | Published comments may survive as static text on the page |
| PHP, plugins, server configuration | No | The crawler never sees server-side code |
| Private or password-protected pages | No | The crawler had no access to them |
If you ran WordPress, think of it this way: you get back what your theme displayed, not WordPress itself. Posts and pages return as finished HTML, which is enough to re-create them, but categories, tags, authors and custom fields have to be reassigned during the rebuild. The WordPress section below shows where to find most of that information in the archive.
Before You Start: Ownership, Copyright and Expired Domains
Restore only what is yours. The archive keeps copies for access and research, and it does not hand you the rights to someone else’s text, photos or design. If you are recovering a site for a client, get written confirmation that they own both the content and the domain before you start.
There is a second trap if you work in SEO. Buying an expired domain and republishing its archived content to borrow its old authority is a very different activity from recovering your own lost site. Google’s spam policies for web search treat expired domain abuse as a violation when a domain is repurposed mainly to manipulate rankings with content that offers visitors little value. Bringing your own business site back on your own domain is fine. Reviving a stranger’s site to rank it is exactly the case Google is targeting.
The 8-Step Wayback Machine Restore Process
The process below works for WordPress sites, static HTML sites and most site builders. Budget more time for cleanup than for downloading, because that is where most recoveries stall. If you ran WordPress, read the WordPress section after Step 8 before you start downloading, since it can save you hours.
Step 1: Choose the Right Snapshot
Open the calendar for your homepage and work backward from the date the site broke. The newest capture is often the wrong one. After a domain expires, the archive may have saved a registrar parking page. After a hack, it may have saved pages stuffed with spam links or redirect scripts. Look for the last capture where the site looked normal and the content was current, and write down its timestamp.
Check a few inner pages from around the same date as well. Different pages are crawled on different days, so a full restore usually mixes timestamps. That is normal, as long as every capture you use comes from the period when the site was healthy.
Step 2: Pull a Complete List of Your Old URLs
Do not rely on clicking through archived menus. Pages that were never in the navigation, such as old blog posts, campaign landing pages and PDFs, are easy to miss. There are two ways to get the full inventory:
- In the browser: visit
web.archive.org/web/*/yourdomain.com/*to see every archived URL under your domain, with its first and last capture dates. - With the CDX API: paste the address below into your browser to get a clean list of unique pages that returned a normal response. Add
&filter=mimetype:text/htmlto the end if you only want pages and not images or scripts.
https://web.archive.org/cdx/search/cdx?url=yourdomain.com/*&output=json&fl=original,timestamp&filter=statuscode:200&collapse=urlkey
Paste the results into a spreadsheet. That sheet becomes your recovery checklist, your redirect map and your QA list. These columns cover everything the later steps need:
| Column | What goes in it |
|---|---|
| Old URL | The original address from the archive list |
| Best capture | The timestamp of the clean snapshot you will use |
| Priority | High for pages with clicks or backlinks, normal for the rest |
| Status | Not started, downloaded, cleaned, rebuilt or live |
| New URL | The same as the old one, or the new address if it has to change |
| Redirect needed | Yes whenever the new URL differs from the old one |
| Notes | Missing images, broken embeds, forms to rebuild |
If you still have access to Google Search Console or a backlink tool such as Ahrefs, export the pages that had clicks or links and mark them as high priority. Those are the URLs carrying your existing traffic, and they get restored first.
Step 3: Download the Website From the Wayback Machine
The cleanest way to download a website from Wayback Machine is to skip the normal archive view. Regular archive pages include the Wayback toolbar and rewrite every link to point back into the archive, and you do not want that code in your rebuilt site. Add id_ right after the timestamp and the archive returns the file exactly as it was captured:
https://web.archive.org/web/20230115000000id_/https://yourdomain.com/about/
For a handful of pages, saving these raw versions by hand is fine. For anything bigger, use a downloader. The open-source Wayback Machine Downloader, a Ruby tool with several community forks and Python ports, fetches every archived file for a domain and lets you cap the date range so you only get files from the healthy period you picked in Step 1:
wayback_machine_downloader https://yourdomain.com --to 20230115000000
Keep the download rate modest. The Internet Archive is a nonprofit and throttles aggressive scraping, and a temporarily blocked connection will slow you down far more than a patient download. If command-line tools are not your thing, the comparison further down covers the alternatives.
Step 4: Clean the Recovered Files
- Search every file for
web.archive.organd replace archive addresses with your real domain or relative paths. - Delete old analytics, ad and tracking scripts tied to accounts you no longer control.
- Inspect pages from late snapshots for injected links, hidden text or unfamiliar scripts, especially if the site was hacked.
- Log missing images and files in your spreadsheet so you can look for them in older captures or replace them.
Step 5: Decide How You Will Rebuild
You have two realistic paths, and the right one depends on what you need the site to do next.
Static HTML is the fastest way back online. Upload the cleaned files to new hosting and the site is live, looking much like it did before. The downside is that every future edit means editing code, and anything dynamic, from contact forms to search, stays broken until you rebuild it.
WordPress takes longer but leaves you with a site you can actually maintain. Moving a Wayback Machine recovery to WordPress means installing a fresh copy, picking a theme close to your old layout and re-creating pages and posts from the recovered HTML. Paste text into the block editor instead of copying old markup, upload images to the media library and rebuild forms with a plugin. Our guide on how to migrate your website to WordPress walks through the setup and import in detail.
For most businesses the WordPress route is worth the extra time. You can still put the static copy up first as a temporary site while the rebuild happens behind the scenes.
Step 6: Keep Your Original URLs
This is the step that decides whether you keep your search traffic. Every backlink and every indexed page points to a specific address. If /services/web-design/ quietly becomes /web-design-services/, Google and every site that linked to you land on a 404.
Match your old permalink structure in WordPress before you publish any content. Where a URL has to change, add a 301 redirect from the old address to the new one, using the spreadsheet from Step 2 as your map. Here is how to set up 301 redirects in WordPress with a plugin or directly in .htaccess.
Step 7: Fix Broken Links, Images and Forms
Crawl the rebuilt site before launch. Any link still pointing to the archive, any image that failed to download and any page you forgot will show up as a broken link. A checker plugin makes this quick, and you can follow our steps to find and fix broken links in WordPress. Then test every form, button and checkout path by hand, because those are the pieces the archive never had.
Step 8: Relaunch and Ask Google to Recrawl
- Install an SSL certificate and confirm every page loads over HTTPS.
- Generate an XML sitemap, which Yoast and most SEO plugins create automatically, and submit it in Google Search Console.
- Use the URL Inspection tool to request indexing for your most important pages.
- Watch the Pages report for 404 errors over the following weeks and redirect any old URLs you missed.
Be realistic about rankings. If the site was down for a few days, positions often return once Google recrawls the same URLs with the same content. If it was gone for months, competitors will have taken some of that ground, and you will be earning it back with updated content.
Restoring a WordPress Site From the Wayback Machine
WordPress sites leave more structure in the archive than most owners realize, because WordPress publishes the same content in several predictable places. Check these before you rebuild anything by hand:
- The XML sitemap. Look up
/sitemap_index.xml(Yoast and Rank Math),/wp-sitemap.xml(built into WordPress since version 5.5) or/sitemap.xml. An archived sitemap is a ready-made list of your posts and pages, often with last-modified dates. - The RSS feed. Captures of
/feed/contain post titles, publication dates, authors, categories and, if your feed showed full text, the complete post content. Each capture only holds the most recent posts, 10 by default, so combine captures from different dates to cover more of your history. - The uploads folder. WordPress stores media under
/wp-content/uploads/by year and month, so one CDX query limited to that path lists every archived image and PDF. - Category, tag and author archives. These pages show which posts belonged where, which removes the guesswork when you reassign taxonomies in the new install.
https://web.archive.org/cdx/search/cdx?url=yourdomain.com/wp-content/uploads/*&output=json&fl=original,timestamp&filter=statuscode:200&collapse=urlkey
Saved feed files can go straight back into WordPress. Under Tools, then Import, WordPress offers an RSS importer that creates posts from a feed file. It has not been updated in a while, so test it on a staging site first and check every imported post afterward: featured images, custom fields and SEO settings do not come across in a feed.
Restore It Yourself or Use a Restoration Service?
The right option depends on the size of the site, your comfort with code and how fast you need it back.
| Option | Best for | Skills needed | Watch out for |
|---|---|---|---|
Manual copies with id_ | Small sites of around 20 pages or fewer | Basic HTML | Slow, and easy to miss pages that were not in the menu |
| Open-source downloader | Developers and larger sites | Command line | Cleanup is still on you, and the archive rate-limits heavy use |
| Restoration service | Non-technical owners and urgent recoveries | None | Check the output format, page limits and refund terms before paying |
| Developer rebuild in WordPress | Businesses that want an editable, long-term site | None, you hire it out | Highest cost, and the developer must be briefed on URL preservation |
If you would rather skip the command line, a specialized service can restore a website from Wayback Machine for you. RestoreMyWebsite, for example, says it scans the archive, strips the toolbar and old trackers, rewrites internal links and returns the site as static files with a sitemap, ready to upload to new hosting. Whichever service you choose, point it at the clean snapshot you picked in Step 1, and still handle Steps 6, 7 and 8 yourself. No tool knows which of your URLs carried the traffic.
Editor’s note: Visualmodo has no commercial relationship with RestoreMyWebsite. We name it as an example because its static HTML output fits the rebuild path described in this guide. Compare it with the free open-source tools above before paying for any service.
Common Mistakes That Ruin a Wayback Machine Restore
- Restoring the newest snapshot without checking it. Parking pages and hacked pages get archived too.
- Rebuilding before checking the archive. People spend days rewriting content that was sitting in a snapshot the whole time.
- Changing URLs without redirects. It is the fastest way to lose the traffic you are trying to recover.
- Leaving archive links in the code. They look fine to you, but they send visitors and crawlers back to web.archive.org.
- Ignoring the page head. Your old title tags and meta descriptions are in the archived HTML. Reuse the ones that ranked instead of writing new ones from scratch.
- Hammering the archive. Aggressive download settings get you throttled and can leave you with half a site.
- Treating launch as the finish line. Plan a 404 check a couple of weeks after relaunch and fix whatever Search Console reports.
How to Make Sure You Never Need the Wayback Machine Again
The archive is a safety net, not a backup plan. Once your site is back online, close the gaps that made the recovery necessary:
- Schedule automatic backups that are stored off your server, in cloud storage you control. Our walkthrough of the free WPvivid backup plugin is a good place to start.
- Keep at least one copy outside your hosting account, so a cancelled plan does not take your backups with it.
- Turn on domain auto-renewal and keep the registrar contact email current. Expired domains are one of the most common reasons sites vanish.
- Store the logins for hosting, domain and DNS somewhere you control, not only with a freelancer or agency.
- Use the Wayback Machine’s Save Page Now feature on your key pages after major updates, as an extra public record.
Wayback Machine Recovery Questions: Legality, Downloads, WordPress, Images and Rankings
Restoring your own content is generally fine, since you hold the rights to it. Republishing text, images or design from a site you do not own can infringe copyright, even though the archive displays it publicly. If you are recovering a site for a client, confirm in writing that they own the content and the domain. This is general information, not legal advice.
List every archived URL with the CDX API or a wildcard search, then fetch each page with id_ added after the timestamp so you get the original file without archive code. For more than a handful of pages, an open-source tool such as Wayback Machine Downloader automates this and lets you limit downloads to a date range. Keep the download rate low, because the archive throttles heavy traffic.
You can restore what WordPress displayed, not WordPress itself. The archive holds the rendered HTML of your posts and pages, plus images and CSS, but not the database, plugins, users or settings. The practical route is a fresh WordPress install where you re-create pages and posts from the recovered content, using archived sitemaps and RSS feeds to speed things up, while keeping the original URLs.
Downloading is the quick part. A small brochure site can often be recovered and relaunched in a day. A blog with hundreds of posts can take several days, because every page needs cleanup, image checks and URL matching. Rebuilding forms and other dynamic features adds more time on top.
The crawler does not save every file. Images loaded by JavaScript, served from another domain or CDN, or added shortly before the site went down are the most common gaps. Try older and newer captures of the same page, check whether the image URL has its own capture, and look through email attachments or social media posts for the originals.
There is no guarantee, but you improve your odds by restoring the same content on the same URLs and redirecting any that changed. Short outages often recover once Google recrawls the site. After a long absence, competitors may hold your old positions, and you will need fresh, updated content to win them back.
Check other sources before rebuilding from scratch. Ask your old host whether it keeps backups after an account is cancelled, search your computer and email for exported files, contact any developer who worked on the site, and look in other archives such as archive.today. Google retired its cached pages in 2024, so that route is closed.
Your Site Is Probably Not Gone for Good
A lost website feels permanent, but if it was public and crawled, much of it is probably still sitting in the archive. Pick a clean snapshot, inventory every URL, download clean files, rebuild on a platform you can maintain and protect the URLs that carry your traffic. Then set up real backups, so the next time something breaks, recovery takes minutes instead of a weekend.