From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Added information about v. 1.1; several tweaks; update; add information about the angle bracket problem)
(Add wikidata)
Line 4: Line 4:
|mimetypes={{mimetype|application/warc}}, {{mimetype|application/warc-fields}}
|mimetypes={{mimetype|application/warc}}, {{mimetype|application/warc-fields}}

Revision as of 01:10, 6 November 2019

File Format
Extension(s) .warc, .warc.gz
MIME Type(s) application/warc, application/warc-fields
PRONOM fmt/289
Wikidata ID Q7978505

WARC is an archive file format which has been the predominant format for Web (HTTP) archives from 2009 to (as of 2019) the present; it is also used for archives of documents collected through other prococols (e.g. FTP), and could technically be used to store a collection of ordinary files. It is the successor to the ARC format. It was developed under the auspices of the International Internet Preservation Consortium, and standardized as ISO 28500, Information and documentation -- WARC file format. WARC was developed as an extension to ARC in part to provide better capabilities for managing Web archives for the long term, allowing for capture of more metadata about the circumstances of archiving. There are currently (2019) two versions of WARC: 1.0 and 1.1, formally ISO 28500:2007 and ISO 28500:2017, respectively.

Version 1.0 formally specified that URLs in the WARC-Target-URI field should be surrounded in angle brackets, but erroneously did not show this in examples. Implementations largely followed the examples, with the notable exception of Wget, a popular WARC-producing program, which, since February 2016, has used the angle brackets, with the result of breaking much of the software that reads its output. The angle brackets were eliminated altogether in WARC 1.1. For more details, see [1], [2], [3]

WARC files are often compressed using gzip, resulting in a .warc.gz extension. In cases where the warc.gz file needs to randomly accessed (namely, as part of web archives accessible page-by-page), this will consist of one gzip stream for each WARC record, concatenated together (which makes for a valid gzip file). This allows any single record to be accessed by an offset, and (when the entire file is decompressed) also preserves the original WARC.

There is also a specification for a Web Archive Metadata File. Another (more widely-used) metadata format used with WARC files is CDX.



Sample files


Other links and references

Personal tools