Mobile Development · head to head
Apache Cordova vs Stencil

Apache Cordova
Mobile Development
Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps
- From
- Free
- Free plan
- Yes

Stencil
Web Development
MIT licensed toolchain for building reusable Web Component libraries in TypeScript
- From
- Free
- Free plan
- Yes
The short version
- Stencil is an open source toolchain.
- Both are free.
- Only Apache Cordova lists targets iOS, Android and Electron; only Stencil lists asynchronous rendering pipeline.
- Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
- Where Stencil falls short: aimed at component libraries, so routing and data fetching must come from elsewhere.
- Prices and features on this page were last checked on 20 November 2026.
How do Apache Cordova and Stencil differ?
Apache Cordova and Stencil differ on platforms and category (Mobile Development against Web Development). Only the attributes on which Apache Cordova and Stencil actually diverge.
| Attribute | Apache Cordova | Stencil |
|---|---|---|
| Platforms | iOS, Android, Windows, macOS, Linux | Web, Windows, macOS, Linux |
| Category | Mobile Development | Web Development |
Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).
Not yet recorded: founded for Stencil.
Which features does each one have?
They share no listed features; 6 appear only for Apache Cordova and 8 only for Stencil. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Apache Cordova
- Single JavaScript API for device functions
- Plugin system managed from the command line
- Targets iOS, Android and Electron
- HTML, CSS and JavaScript app code
- Apache 2.0 open source licence
- Platform feature support documentation
Only in Stencil
- Compiles TypeScript and JSX to Web Components
- Shadow DOM and slots support
- Output optimised for tree shaking and loading
- Asynchronous rendering pipeline
- Documentation generated from JSDoc comments
- Dev server with hot reloading
- Unit testing and code generation tooling
- Integration guides for Angular, React and Vue
What is each one used for?
Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; Stencil for publishing a design system as Web Components. The jobs each tool is most often brought in to do.
Apache Cordova
- Wrapping an existing web app as a mobile appnot Stencil
- Single codebase for iOS and Androidnot Stencil
- Prototyping mobile apps with web skillsnot Stencil
- Accessing device features from JavaScript through pluginsnot Stencil
Stencil
- Publishing a design system as Web Componentsnot Apache Cordova
- Sharing UI components across React, Angular and Vue appsnot Apache Cordova
- Building framework independent widgetsnot Apache Cordova
- Generating documentation for component librariesnot Apache Cordova
- Building progressive web apps with Web Componentsnot Apache Cordova
Where do Apache Cordova and Stencil fall short?
Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. Stencil's: aimed at component libraries, so routing and data fetching must come from elsewhere. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Apache Cordova
- Apps render in a web view, so UI is not native by default
- No built-in UI component library or hosted build service
- Adobe's PhoneGap Build cloud service was discontinued in 2020
- Many platforms listed in older versions, such as BlackBerry and Tizen, are no longer supported
Stencil
- Aimed at component libraries, so routing and data fetching must come from elsewhere
- Requires TypeScript and decorator conventions that differ from other frameworks
- Web Component styling and form handling can need extra work in some host frameworks
- Smaller ecosystem of third party components than the largest frameworks
How much do Apache Cordova and Stencil cost?
Apache Cordova is free to use; Stencil is free to use. Plan by plan below, from each vendor's own pricing page.
Apache Cordova
FreeNo published plan breakdown. See the Apache Cordova review.
Stencil
FreeNo published plan breakdown. See the Stencil review.
Which should you pick?
Choose Apache Cordova if
- You need single javascript api for device functions.
- You want to start without paying.
- You work on iOS, Android, Windows, macOS, Linux.
- You also want plugin system managed from the command line.
Choose Stencil if
- You need compiles typescript and jsx to web components.
- You want to start without paying.
- You work on Web, Windows, macOS, Linux.
- You also want shadow dom and slots support.
Questions people ask
- Is Apache Cordova or Stencil better?
- Neither clearly leads. Apache Cordova starts at Free and Stencil at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
- Which is cheaper, Apache Cordova or Stencil?
- Apache Cordova starts at Free and Stencil at Free.
- Does Apache Cordova or Stencil run on more platforms?
- Apache Cordova runs on iOS, Android, Windows, macOS, Linux. Stencil runs on Web, Windows, macOS, Linux.
- Can I use Apache Cordova for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Apache Cordova best used for?
- Apache Cordova is most often used for wrapping an existing web app as a mobile app, single codebase for ios and android, prototyping mobile apps with web skills, accessing device features from javascript through plugins. Of those, wrapping an existing web app as a mobile app and single codebase for ios and android are not what Stencil is typically brought in for.
- What can Apache Cordova do that Stencil cannot?
- Apache Cordova covers Single JavaScript API for device functions, Plugin system managed from the command line, Targets iOS, Android and Electron, HTML, CSS and JavaScript app code. Stencil covers Compiles TypeScript and JSX to Web Components, Shadow DOM and slots support, Output optimised for tree shaking and loading, Asynchronous rendering pipeline.
Answered from the vendors’ own pages
Apache Cordova: Is Apache Cordova free?
Yes. The project describes itself as free and open source under the Apache License 2.0, maintained by the Apache Software Foundation.
SourceStencil: What does Stencil produce?
Stencil compiles components written in TypeScript and JSX into standard Web Components. These work in any major framework or without one.
SourceApache Cordova: How is Cordova related to PhoneGap?
Nitobi Software developed PhoneGap in 2008 and Adobe acquired Nitobi in October 2011. The code was contributed to Apache and renamed Cordova.
SourceStencil: Is Stencil free?
Yes. The project is released under the MIT licence according to both its website and its GitHub repository.
SourceApache Cordova: Which platforms does Cordova support?
As of version 11, iOS, Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron are listed on Wikipedia. The project site has a page of per-platform feature support.
SourceStencil: Who builds Stencil?
The README says Stencil is built by the Ionic team. The website describes it as an open source project by Ionic.
SourceStencil: Does Stencil work with React, Angular and Vue?
Yes. Components are plain Web Components, and the website provides integration guides for Angular, React and Vue.
SourceRelated pages
More on Apache Cordova
Other head to heads
- Apache Cordova vs React Native
- Apache Cordova vs Ionic
- Apache Cordova vs Flutter
- Apache Cordova vs NativeScript
- Apache Cordova vs Xcode
- Apache Cordova vs Kotlin Multiplatform
- Apache Cordova vs Maestro
- Apache Cordova vs Sencha
- Apache Cordova vs Bitrise
- Apache Cordova vs Codemagic
- Apache Cordova vs Emerge Tools
- Apache Cordova vs .NET MAUI
- Apache Cordova vs EAS Build
- Apache Cordova vs Capacitor
- Apache Cordova vs Firebase
- Apache Cordova vs Swift
- Apache Cordova vs Expo
- Apache Cordova vs Jetpack Compose
- Apache Cordova vs Lit
- Apache Cordova vs Angular
- Apache Cordova vs SolidJS
- Apache Cordova vs Preact
- Apache Cordova vs Svelte
- Apache Cordova vs MUI
- Apache Cordova vs TypeScript
- Apache Cordova vs Chakra UI
- Apache Cordova vs shadcn/ui
- Apache Cordova vs MySQL
- Apache Cordova vs Radix UI
- Apache Cordova vs Sass
- Apache Cordova vs Next.js
- Apache Cordova vs Docusaurus
- Apache Cordova vs Django
- Apache Cordova vs Vue.js
- Apache Cordova vs Flask
- Apache Cordova vs SvelteKit
- Stencil vs React Native
- Stencil vs Ionic
- Stencil vs Flutter
- Stencil vs NativeScript
- Stencil vs Xcode
- Stencil vs Kotlin Multiplatform
- Stencil vs Maestro
- Stencil vs Sencha
- Stencil vs Bitrise
- Stencil vs Codemagic
- Stencil vs Emerge Tools
- Stencil vs .NET MAUI
- Stencil vs EAS Build
- Stencil vs Capacitor
- Stencil vs Firebase
- Stencil vs Swift
- Stencil vs Expo
- Stencil vs Jetpack Compose
- Stencil vs Lit
- Stencil vs Angular
- Stencil vs SolidJS
- Stencil vs Preact
- Stencil vs Svelte
- Stencil vs MUI
- Stencil vs TypeScript
- Stencil vs Chakra UI
- Stencil vs shadcn/ui
- Stencil vs MySQL
- Stencil vs Radix UI
- Stencil vs Sass
- Stencil vs Next.js
- Stencil vs Docusaurus
- Stencil vs Django
- Stencil vs Vue.js
- Stencil vs Flask
- Stencil vs SvelteKit
