Legislation.gov.uk
legislation.gov.uk
- Free plan
- Web
- API
What Legislation.gov.uk is
Legislation.gov.uk provides free online access to UK legislation and explanatory documents. It is the official publication site for newly enacted legislation and is managed by The National Archives for HM Government. Coverage includes most primary legislation from 1988 onward and secondary legislation from 1987 onward, with stated gaps and exceptions. Users can search titles or keywords, browse by type and category, and use advanced search for content keywords and geographic extent. Revised texts incorporate amendments, while point-in-time versions show legislation as it stood at a chosen time. The site also identifies changes not yet applied to revised text and warns that revised material may not be fully current. New legislation is targeted for publication alongside print or within 24 hours, although complex documents may first appear as PDFs. Pages provide HTML5, XML, Akoma Ntoso, RDFa, RDF/XML, and some PDF formats. Its API supplies content, metadata, search, lists, feeds, and multiple formats, with a 3,000-requests-per-five-minutes per-IP fair-use limit and a required user agent.
Who it suits
Legislation.gov.uk suits anyone needing UK statutes and regulations, including readers, researchers, and developers using the API. It covers England, Wales, Scotland, and Northern Ireland.
Good to know, and what to watch
- Free access through web and API
- Searches titles, keywords, types, and categories
- Provides revised and point-in-time texts
- Offers multiple machine-readable formats
- Includes update subscription feeds
- Coverage has stated gaps and exceptions
- Revised text may not be fully current
- API limits each IP to 3,000 requests per five minutes
- Some complex documents first appear as PDFs
The verdict
Legislation.gov.uk combines public access, searchable revised texts, historical versions, and API formats for UK legislation. Users should check stated coverage gaps and change notices when relying on a document.
What the maker publishes
- Accessibility
- Users can request large print or braille copies of most enacted and revised legislation, except content available only as scanned PDFs. source
- API
- The Legislation API supports access to legislation content and metadata, search, lists, feeds, and multiple formats. source
- API and fair use
- The site provides an API with data formats described on its Formats page, and asks non-browser users to identify scrapers or crawlers with a legitimate user-agent string. source
- API limit
- The API fair use policy currently limits each IP address to 3,000 requests every 5 minutes and requires a user agent. source
- Change tracking
- The site lists changes that have not yet been applied to revised text, and warns that revised legislation may not be fully up to date. source
- Coverage
- The site carries most types of UK legislation, including primary legislation from 1988 onward and secondary legislation from 1987 onward, with stated exceptions and gaps. source
- Coverage limits
- The site notes that some legislation is absent because it is not available in a web-publishable format, and that its holdings are not complete for every type and year. source
- Feeds
- The homepage offers free subscription feeds for updates to newly enacted legislation. source
- Feeds
- Free Atom subscription feeds provide updates on newly published legislation, with feeds available for several UK jurisdictions and legislation types. source
- Formats
- Legislation pages provide alternative formats including HTML5, XML, Akoma Ntoso, RDFa, and RDF/XML, and some documents are available as PDFs. source
- Formats
- Most legislation since 1988 is available in formats including HTML, plain text, and PDFs with accessible text. source
- Official publication
- The site is the official place of publication for newly enacted legislation. source
- Official publication
- Legislation.gov.uk is the official place of publication for newly enacted UK legislation. source
- Open data
- The site states that its content is available under the Open Government Licence v3.0 except where otherwise stated, with some EU-derived content under separate reuse terms. source
- Operator
- The National Archives manages the website on behalf of HM Government. source
- Privacy
- The privacy notice says the site generally does not use cookies and that usage information is used to assess compatibility and improve the service. source
- Publication timing
- The site aims to publish new legislation simultaneously with, or within 24 hours of, printed publication; complex documents may first appear as PDFs. source
- Publication timing
- The site aims to publish new legislation simultaneously with, or within 24 hours of, its publication in printed form, though complex documents may take longer. source
- Purpose
- Legislation.gov.uk provides online access to UK legislation and accompanying explanatory documents. source
- Reuse
- The site encourages commercial and non-commercial reuse of API data under open licences, subject to its fair use policy. source
- Revised legislation
- The site provides access to revised legislation as it stood at specific points in time. source
- Revised texts
- The editorial team incorporates amendments and other effects into revised legislation, and the site provides point-in-time versions for documents. source
- Search
- Users can search by title or keywords and browse legislation by type and category; advanced search includes content keywords and geographic extent. source
- Support
- The site team handles queries about publishing enacted and revised legislation and accepts feedback by email; it says it can assist only with English-language enquiries. source
Checked against the maker's pages on 9 Oct 2026.