Help:Using the Wayback Machine

 The Wayback Machine is a service which can be used to cite archived copies of web pages used by articles. This is useful if a web page has changed, moved, or disappeared; links to the original content can be retained. This process can be performed automatically, using the web interface for User:InternetArchiveBot.

Editors are encouraged to add an archive link as a part of each citation, or at least submit the referenced URL for archiving, at the same time that each citation is created or updated. New URLs added to Wikipedia articles (but not other pages) are usually automatically archived by a bot.

Visit the webform at https://web.archive.org, enter the original URL of the web page of interest in the "Wayback Machine" search box and then hit return/enter. The next screen may:
 * show a calendar listing the snapshot dates for all archived copies of that page, or
 * show a box near the bottom of the page with a link inviting the user to ,

This is the code that needs to be added to an existing cite web or similar template:



JavaScript bookmarklets
A bookmarklet is a one-click button in a web browser that is stored like a bookmark but uses javascript to carry out certain actions.

To see a dead page
To use a bookmarklet when you're at a dead link web page and want to visit archives saved by the Wayback Machine, click and drag the following code to your browser's bookmarks toolbar, then name it something memorable, such as Wayback (e.g. Wayback):

Then, when you are at a dead page, you may click the bookmarklet and it will automatically take you to the Wayback Machine's archives of that page.

The preceding code may not work for all users. In that case, you may try the following bookmarklet:

To save a live page
For a bookmarklet that allows you to manually archive a page you are visiting, store the following code in a bookmark on your browser's toolbar, with a name such as Wayback Save (e.g. Wayback Save):

Command-line tool
Install waybackpy - (PyPi) - (docker) - (snapcraft.io)

Waybackpy is an OS-independent command-line tool and a Python package that interfaces the Internet Archive's Wayback Machine APIs (Save API, Availability API and CDX API).

Save a live page
The line below 'Archive URL:' contains the archive URL and the line below 'Cached save:' indicates whether the URL returned by Wayback Machine was saved before the request was made by the client, thus cached save.

Get the oldest archive
waybackpy uses the Wayback Machine's CDX Server API for retrieving the oldest archive.

Archive close to a date and time
To find the archive of google.com close to 2008-08-08 08:08 UTC (8th of August, 2008 and 8 minutes past the 8th hour UTC time) use the following command. You may omit the flags you don't care about. Wayback Machine timestamps are UTC time.

Browser add-ons and apps
The Internet Archive provides a browser add-on that can be used to easily access pages on the Wayback Machine for the currently viewed site, along with options to save a copy of the page to the Wayback Machine. Currently, versions of the add-on are available for Google Chrome, Microsoft Edge, Mozilla Firefox, and Safari.

Additionally, apps for iOS and Android are available for mobile devices.

Using the webarchive template
webarchive is an easy way to create very basic links to the Wayback Machine (or other archiving services). It typically isn't used for citations since it doesn't include information like author, date, and publication, but it can be useful for non-citation links. Use the url, title and date parameters to specify the URL, title and archive date. For example: → Without the date included: →

See the webarchive documentation for additional options

Working with cite templates
citation, and all of the templates support the archive-url parameter (Note that the archive-date parameter is also required). Other citation templates may also support archive-url — see their documentation. → →   Should the original URL stop working, it is a simple job to either change this to dead or remove the parameter.
 * Where an archived resource notes its original publication date, use date in place of access-date.
 * When adding an archive URL to any citation where the original resource URL is still working, it is useful to add the live parameter. With live, clicking the title in the footnote invokes the original (live) URL, clicking "Archived" gives the archived copy. Otherwise the title invokes the archived page, "Original" invokes the (dead unless it has been reinstated) original link:

Appendix: Wayback Machine URL formats
A link to the Wayback Machine usually starts with  followed either by a single asterisk or a 14-digit datetime reference, then a slash and finally the URL of the original web page.

Initial request
The following example requests archived copies of the main index page of Wikipedia. Such requests usually result in a calendar with links to all archived copies of the requested page. Use the above URL format to discover the extent to which the requested page has been archived. Click one of the highlighted dates to select that specific archived copy.

It is possible to narrow down the request by providing a date code with fewer than 14 digits followed by * (in this example, display only archived snapshots matching December 2005)

If the target web page hasn't yet been archived, a box appears near the bottom of the page with a link inviting the user to. Clicking this invokes a request to The above URL will show the current version of the requested web page and start the process that will attempt to archive the web page. If successful, the archived copy will become available immediately after the process is completed.

For some requested pages, the Wayback Machine will return an error message explaining why that particular page has not and cannot be archived. In those cases, try a different archiving service such as WebCite.

Specific archive copy
Once the target web page has been archived, each of the specific dated archives can be individually requested using the format shown below.

The next example links to the archived copy of the main index page of Wikipedia exactly as it appeared on 30 September 2002 at 12:35:25 pm in the UTC timezone. The datetime format is. Use the above format to link directly to a specific archive copy.

Adding an asterisk immediately after the date (or in place of it) is a quick way to show the calendar view of all archived copies.

The following flags can be appended to the datetime field to modify the format in which the archived content is displayed :
 * Identity - perform no alterations of the original resource, return it as it was archived.
 * JavaScript - return document marked up as JavaScript.
 * CSS - return document marked up as CSS.
 * Image - return document as an image.
 * or  Iframe - return document formatted normally, but without the navigational toolbar.

Depending on the circumstances under which the page images were archived, the rendering of these pages may not be consistent; therefore, it is recommended that the flags be tested before being incorporated into Wikipedia documents. The datetime format is, followed by an optional formatting flag, such as the ones above.

Removing the navigational toolbar
Normally, when displaying an archived web page, the Wayback Machine will rewrite parts of the underlying code (such as CSS/image references), in order to make the page look as similar as possible to how it looked at the time the page was archived. By default, it will also add a navigational toolbar. This toolbar is undesirable for links to a specific known archived copy of the page.

The  "identity" flag was previously recommended to return the page exactly as it was archived, without the toolbar. Unfortunately, many pages will render poorly with this flag because the CSS/image references are not fixed to use archived copies of those resources.

A better choice is the  "iframe" flag, which omits the toolbar while still fixing the references. This will make the rendered page look as similar to the original web page as possible.

For example, here is an archived post discussing the  identity flag. This is a normal link to the Wayback Machine, which renders with the navigational toolbar:

Here is the same archived page, with the  identity flag added to the link. This does not include the toolbar, but now the page renders poorly because of the broken references:

Finally, here is the same archived page, with the  iframe flag instead. This renders perfectly, without the toolbar:

Since this is the most faithful reproduction of the original web page, please use the  iframe flag for links to specific archive copies!

Latest archive copy
The next example links to the most current version of the archived page. Using the above format is discouraged. The request is redirected to the long-form URL, including a 14-digit datetime stamp, for the latest archive copy thereby defeating the purpose of using the archive to link directly to a specific old version of the page.

Likewise, a similar archive URL but with the number  links to the oldest archive copy.

See also: Advanced URL locator hints and tips – Internet Archive

Docs

 * Help:Archiving a source
 * Link rot, how-to guide for prevention of dead external links
 * Using WebCite
 * Using Archive.is
 * Using Perma.cc

Templates

 * dead link, for flagging dead links
 * linkrot, for flagging pages with bare links
 * user archiveurl, user Internet Archive, user web archive, userboxes