The Swift project has new hosted documentation, now live.
The tl;dr:
- latest release (canonical) docs (built from
release/6.4.xbranch): https://docs.swift.org/latest/documentation/ - main branch docs: https://docs.swift.org/main/documentation/
- the "Docs" menu on swift.org and docs.swift.org redirects to https://docs.swift.org/latest/documentation/
To set expectations, this is a living site for Swift, not a finished, polished product. We wanted to get it out there for immediate use and keep improving it as we go forward. Our aim is better, accessible docs (reference, guides, and examples) for the Swift project and language.
Background
This is the next step in work that stretches back almost two years. It started with the Swift Information Architecture Project, followed by a proposal to build combined docs from that project. That resulted in the creation of the docs repository (swiftlang/docs) in February 2026.
Almost all the workgroups within Swift collaborated on this work, along with a lot of individuals who helped make great content available.
What's included
Here's what the new site brings together:
- The Swift Programming Language with its introduction, language guide, and reference.
- The reference API for the Swift standard library and testing.
- Content sourced from across the repositories in swiftlang — written in markdown, built using DocC, and updated nightly from the relevant branches.
This includes documentation for the toolchain, language, and platform-specific details for using Swift. We're continuing to host documentation for libraries and Swift packages on the Swift Package Index.
What's not there yet
We expect a few readers will note that Foundation isn't yet included. We're actively working on open sourcing the reference API content and including it, akin to what we did with the Swift standard library.
Versioning
This also marks a step toward providing documentation and guides versioned to the Swift releases, and supporting versioned content going forward. The URL slug latest presents documentation built from the most recent release branch—right now that's release/6.4.x, since 6.4 hasn't shipped yet. We also have main, which presents the nightly development branch. In the near future we'll also have 6.4 as a URL slug referencing previously released documentation when we step forward beyond 6.4 as our current release. The old links still work, and redirects for this new structure are live now.
What's next
There's more work immediately upcoming on how these docs are built and presented. These docs are primarily (but not completely) built with some of the experimental work in DocC to make the content more accessible, including markdown output in the DocC archive and fuller HTML content to make the details available to crawlers and indexers.
Coming up, we want to add explicit canonical tags into the output, as well as add a version switcher so it's easier to move between the versions we host, rather than relying on readers to know a different URL exists.
We're continuing to work closely with the DocC team, feeding back the lessons and gaps we've found so far to help improve DocC and this documentation going forward.
Also in upcoming work, there are a lot of articles on the swift.org website that could migrate into this new combined documentation structure. Some of those articles may be able to just move over, which is great — others may need some updating or rework to switch them forward from one-off articles to ongoing documentation. We're tracking those migrations and updates in issues at swiftlang/docs.
Get involved
The content coverage is uneven, and we'd all like it to be better. As we go forward, we're delegating technical review to the relevant steering group — Language, Platform, or Ecosystem — to identify relevant reviewers and ensure accuracy.
There are a few ways to help:
- Spot a typo or small error? You can open a pull request directly against swiftlang/docs.
- Notice a content gap or bigger issue? You can file a content issue.
- Have an idea for a new article, guide, or example code? Start a thread in the Swift forums and we'll help you scope it out.
- Want to help review? You can leave comments on any of the open pull requests.

