Short answer
A single-page app is one kind of web application, not a synonym for every app on the web. MDN defines it as an implementation that loads a single web document and then updates that document with JavaScript. A traditional site loads a new page for each URL. Both are web software. Only one of them stays on a single document.
Last verified against the sources listed below.
Key takeaways
- MDN calls a single-page app a web app that loads one document and updates it with JavaScript.
- A traditional website is a set of linked pages, each loaded as its own document.
- Ajax and the Fetch standard are how new content can arrive without a full page load.
- The WHATWG HTML spec treats some single-page navigations as synchronous.
- A progressive web app can be a single-page app, and it does not have to be one.
Single page application vs web application is a subset question. A single-page app is one kind of web application. It is not the definition of every app that runs in a browser.
JavaScript is what the single-document style uses to swap content after the first load.
The verdict is to call a product a single-page app only when it really keeps one document. Call it a web application either way.
What does MDN call each one?
A single-page app loads one document. A web application is the broader category.
| Single-page application | Web application in general | |
|---|---|---|
| Document model | One web document, then updates inside it | One document or many, depending on the product |
| How a new view arrives | JavaScript, often Fetch, changes the current document | A new navigation can load another document |
| MDN’s label | A web app implementation | The glossary uses web app for software running in the browser |
| Required extras | History, state, and navigation are your job | The browser loads pages unless you override that |
MDN’s SPA glossary says a single-page application is a web app implementation that loads only a single web document, then updates the body content of that document through JavaScript APIs such as Fetch. People can use the site without loading whole new pages from the server. MDN names performance and a more dynamic experience as the upside, and it names search, state, navigation, and performance monitoring as the costs.
That sentence already answers the comparison. The single-page style is an implementation of a web app. MDN does not say the reverse, that every web app is single-page.
The native glossary draws a different line. A native application is compiled for the target environment. A web app that runs inside a browser is not native, because the browser sits on top of that environment. Native versus web is a separate contrast from single-page versus multi-page.
How does a traditional site move between pages?
A traditional site loads another document when you follow a link.
MDN’s progressive web app guide describes the older pattern directly. A website is a collection of interlinked pages. A click loads the new page as a new entity, including the HTML and the CSS and JavaScript that HTML requests. In a single-page app, the site is one HTML page, and a click is handled by JavaScript fetching content and updating the relevant parts.
The same guide says single-page apps are often used for progressive web apps because the experience can feel closer to a platform-specific app. It then says progressive web apps do not have to be single-page apps, and single-page apps do not have to be progressive web apps. Install, offline support, and a web app manifest are a different checklist.
Responsive web design still applies to both. One document or many, the layout has to fit the screen.
The WHATWG browsing model describes the usual case as a person looking at a navigable and navigating it to another URL. It also calls out fragment navigations and single-page app navigations as synchronous, meaning script expects to see the result immediately. That is the spec’s way of saying the single-page case is a special navigation, not the only one.
What does the update actually fetch?
The update asks for a response. It does not reload the whole document by default.
MDN’s Ajax glossary describes the older name for this technique. A web app fetches content with asynchronous HTTP requests and uses the new content to update the relevant parts of the page, without a full page load.
Ajax can be used to create a single-page app, where the entire app is one document. MDN also notes that modern code tends to use fetch() rather than XMLHttpRequest, and that the word Ajax itself is now less common.
The Fetch standard, last updated 30 November 2026, defines requests, responses, and the process that binds them. Its goal is one set of rules for fetching across the platform, including redirects, cross-origin behavior, and service workers. A single-page app that calls fetch() is using that process. A multi-page app uses it too, when the browser navigates.
The W3C page structure tutorial still matters after either choice. Headings and regions help people move inside the document they are looking at. Replacing the body without a thoughtful heading structure removes those cues even if the fetch succeeded.
Which should you choose?
Choose a single-page app when one document should stay in place and script should swap the view. Choose separate documents when each URL should be a full page load.
A logged-in tool with a stable shell often fits the single-document model, because MDN’s tradeoffs (state and navigation) are work you were going to do anyway. An article site often fits documents, because each page can load on its own and the browser handles the history entry.
Do not describe a multi-page tool as a single-page app to make it sound newer. MDN’s definition is specific. One document, then updates. If a click replaces the document, you built the other kind.
A component is one piece a single-page app can render inside that document.
The SVG to JSX tool turns an SVG into a component. It does not choose your routing. It only gives you a piece of interface you can mount in whichever document model you picked.
Frequently asked questions
Is every website a single-page application?
No. MDN describes a website as a collection of linked pages that share a domain name. A single-page app is the case where the site is one page and the address might not change as the content changes. The progressive web app guide says the traditional pattern loads each new page as its own document, including HTML, CSS, and JavaScript. That pattern is still a normal web application.
Does a single-page app avoid the server?
No. MDN says the document updates through JavaScript APIs such as Fetch when different content should be shown. The Fetch standard defines requests, responses, and the process that binds them. The HTML still came from somewhere, and later content still has to be requested unless it was already in the first document. Skipping a full page load is not the same as skipping the network.
Are progressive web apps the same thing?
No. MDN says a progressive web app is built with web platform technologies and aims at an experience more like a platform-specific app, including install and offline behavior. The same guide says these apps are often built as single-page apps, because updating one page feels closer to an installed app. It also says the two do not require each other. You can have either one without the other.
What does MDN list as the tradeoffs?
The glossary entry says skipping full page loads can bring performance gains and a more dynamic experience. It also names disadvantages: search, more effort to maintain state, implementing navigation, and meaningful performance monitoring. Those are costs of keeping one document alive and pretending that new views are new pages. A multi-page app gets document loads, history, and fresh pages from the browser instead.
Can one product mix both styles?
Yes. MDN's Ajax glossary says Ajax can create a single-page app, and it also describes the older technique of updating part of a page. A marketing site can load full documents for articles and use script updates only inside a tool. The HTML spec even separates fragment navigations and single-page app navigations from the usual cross-document case. The label belongs to the navigation you actually built, not to the whole company.
Sources
- SPA (Single-page application) · MDN, 2026
- What is a progressive web app? · MDN, 2026
- Ajax · MDN, 2026
- Browsing the web · WHATWG, 2026
- Fetch · WHATWG, 2026
- Page Structure Tutorial · W3C Web Accessibility Initiative, 2026