Monaco Editor
A strong pick. 3rd of 8 code editors and highlighters.
Monaco is the editor core of VS Code, packaged for the browser. It is the strongest choice when you need an IDE-grade editor on desktop, with completion, diagnostics and built-in TypeScript, JSON, CSS and HTML services. It is heavy, does not support mobile browsers, and is harder to customise than CodeMirror 6, which suits most other embedded editors better.
Best for: Teams building a desktop-browser IDE, playground or schema-validated JSON/TypeScript editor that should feel like VS Code.
Scores
Overall7.5
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It is a strong pick for one named kind of project: a desktop IDE, playground or schema-aware editor that should feel like VS Code. There it has no real equal. For most other embedded editors, CodeMirror 6 is lighter, works on mobile and is easier to customise. Monaco's 0.x churn and heavy setup also cost it points.
- pistack.xyz/posts/2026-08-22-browser-code-editors-monaco-codemirror-ace-comparison: Pick Monaco for IDE-like needs, CodeMirror otherwise
- cdn.jsdelivr.net/npm/monaco-editor@0.56.0/CHANGELOG.md: Recent breaking changes
- npm downloadsLast4Weeks: Growth above the median
GPT-6.2 Sol: 8.0, likely 6.9 to 9.0
Monaco is a strong first choice for a desktop browser IDE or TypeScript playground that needs language services and diffs out of the box. CodeMirror is a better fit for mobile or highly customized lightweight editing, and Shiki is a better fit for static code blocks. Active upstream work supports a new adoption, while integration effort and the pending stable sanitizer update keep the recommendation below a category-wide default.
- github.com/microsoft/monaco-editor/blob/v0.57.0/CHANGELOG.md: Current stable editor features and integration changes.
- replit.com/blog/code-editors: Adopter comparison explains the strengths of Monaco and CodeMirror.
- shiki.style/guide: Dedicated highlighter with build-time output for static code blocks.
- github.com/microsoft/monaco-editor/issues/5517: Bundled sanitizer concern remains open for stable 0.57.0.
Needed by many3.8
How many developers need a tool for this job?
Claude Opus 5.5: 3.5, likely 2.5 to 4.5
Editing code inside a web page is a clear niche: playgrounds, admin config editors, dev tools and online IDEs. Monaco's heavy, desktop-only, IDE-style take narrows that further. It does not cover the much larger group that only needs to highlight code on a page.
- category job: In-browser editing is needed far less often than read-only highlighting
- pistack.xyz/posts/2026-08-22-browser-code-editors-monaco-codemirror-ace-comparison: Recommended for IDE-like apps only, not for mobile or tight bundles
GPT-6.2 Sol: 4.0, likely 2.8 to 5.3
Monaco serves a clear niche in browser IDEs, coding lessons, and tools that edit source or configuration. It works across frontend frameworks, while its desktop focus and substantial bundle narrow its appeal for mobile apps and simple code displays. The available research covers online IDEs and leaves the share of JavaScript and TypeScript developers who need embedded editing uncertain.
- github.com/microsoft/monaco-editor: Browser editor with no official mobile support.
- docs.gitlab.com/development/fe_guide/source_code/source_editor: Framework-independent integration for several editing workflows.
- eduardfrankford.com/pdfs/CSEDU2024.pdf: Independent review of 15 online IDEs and a survey of student needs.
Helps a lot8.0
How well does it do the job for those who need it?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
No peer matches its feature set for IDE-grade editing, and its TypeScript and JSON services work out of the box. Real limits hold it back. It is heavy, needs worker configuration, lacks mobile support and is hard to customise. Teams also report weak documentation. CodeMirror 6 is lighter, more modular and more accessible for most embedded editors.
- pistack.xyz/posts/2026-08-22-browser-code-editors-monaco-codemirror-ace-comparison: Closest thing to VS Code in a browser; ~2.9 MB full build; no mobile
- sourcegraph.com/blog/migrating-monaco-codemirror: Size, theming, global config and documentation problems led Sourcegraph to migrate
- blog.repl.it/codemirror: Replit cites a verbose API and lacklustre documentation
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 8.5, likely 7.3 to 9.3
Stable 0.57.0 gives desktop apps a polished editor with syntax highlighting, diffs, and strong built-in TypeScript and JavaScript language services. The typed API and playground help developers and coding agents check integrations. Worker setup takes care, and users report that some language services defeat selective bundling. Current head-to-head browser benchmarks and measurements of coding-agent accuracy are sparse.
- github.com/microsoft/monaco-editor/blob/v0.57.0/CHANGELOG.md: Selective ESM entry points, diff improvements, and typed language-server APIs.
- github.com/microsoft/monaco-editor: Documents the typed API, playground, and language workers.
- replit.com/blog/code-editors: Former adopter praised built-in IntelliSense and reported performance and mobile limits.
- github.com/microsoft/monaco-editor/issues/5507: Users report extra features and runtime errors in selective 0.57.0 builds.
Holds up over time7.6
Will it still be a good choice in two years?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Microsoft builds it from the VS Code core, and the evidence shows 229 commits and 33 GitHub releases in the last year, with the latest stable in September 2026. After ten years it is still on 0.x. Recent minors brought breaking changes, including namespace moves, ESM restructuring and the AMD deprecation, and 795 issues are open. A public question from Compiler Explorer's author about Monaco's future shows some users are unsure about its long-term direction.
- github commitsLastYear / releasesLastYear: 229 commits and 33 releases in the last year
- cdn.jsdelivr.net/npm/monaco-editor@0.56.0/CHANGELOG.md: Breaking changes in 0.53, 0.55 and 0.56; AMD build deprecated
- bluesky top post: Matt Godbolt asks about the future of Monaco
- github openIssues: 795 open issues, 3251 closed
GPT-6.2 Sol: 7.7, likely 6.4 to 8.7
Microsoft’s VS Code team keeps Monaco’s core current, and the repository recorded 229 commits over the past year. The npm package published two stable versions in that period, and the repository still has 795 open issues. Changes to worker APIs and package exports required migration work in GraphiQL. The range reflects uncertainty around stable patch timing and how widely publishing access is shared.
- github commitsLastYear, openIssues and releasesLastYear: 229 commits, 795 open issues, and 33 GitHub releases across release types.
- npm versionsLastYear and latestPublishedAt: Two stable versions, with 0.57.0 published in September 2026.
- github.com/microsoft/monaco-editor/commits: Recent work updates the VS Code core and build pipeline.
- github.com/graphql/graphiql/pull/4566: GraphiQL had to update its worker integration and import paths.
Used widely6.7
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Downloads rose from 10.4M to 54M per four weeks, a ratio of about 5.2 against the 4.1 median, so it is gaining ground. Its 19k dependent repos beat CodeMirror's and Ace's counts, though CodeMirror's use is split across many packages. Some downloads come through wrappers and tools that bundle it. Highlighters such as Shiki, Prism and highlight.js reach far more projects, but they do a different job.
- npm downloadsLast4Weeks: 54M now vs 10.4M a year ago (ratio ~5.2)
- dependents repos: 19,164 repos and 3,119 packages
- github stars: 47k stars, the most in the category
GPT-6.2 Sol: 6.3, likely 5.3 to 7.4
ecosyste.ms found 19,164 dependent repositories and 3,119 dependent packages, with more tracked repositories than either CodeMirror or Ace. Four-week downloads rose from 10.4 million to 54.0 million, or 5.18×, ahead of the 4.1× catalog median and behind CodeMirror’s 7.06×. Nearly 47,000 stars show broad awareness, while recent Bluesky and Hacker News attention is sparse. Automated and transitive installs inflate downloads, and CDN loading can bypass them, leaving the number of projects choosing Monaco uncertain.
- dependents and peers dependentRepos: 19,164 tracked repositories versus 9,817 for CodeMirror and 10,534 for Ace.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo and medianDownloadsRatio: 5.18× year over year against a 4.1× catalog median.
- github stars, bluesky posts and hackerNews top: 46,992 stars, three Bluesky links, and one low-engagement project mention on Hacker News.
- github.com/suren-atoyan/monaco-react: The React wrapper declares Monaco as a peer and loads it from a CDN by default.
Vouched for7.7
Who stands behind it being good?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
VS Code itself runs on this core. Well-known tools such as Compiler Explorer and the TypeScript Playground embed it, and independent comparisons name it the pick for IDE-grade editing. The validation is mixed, though. Sourcegraph and Replit both moved away from it and wrote up why. Survey data on satisfaction is thin.
- VS Code / TypeScript Playground / Compiler Explorer: Major products run the Monaco core in production
- pkgpulse.com/guides/monaco-editor-vs-codemirror-6-vs-sandpack-in-browser-2026: 2026 guide recommends it for full in-browser IDEs
- sourcegraph.com/blog/migrating-monaco-codemirror: A notable user migrated away
GPT-6.2 Sol: 8.4, likely 7.3 to 9.3
GitLab embeds Monaco across several editing workflows, and Eclipse Theia builds on it. GraphiQL 6 and OpenHands provide recent evidence of adoption of the current release line. Replit’s move to CodeMirror shows that Monaco’s strengths carry less weight on mobile and low-powered devices. Current survey evidence on satisfaction with the embedded package is limited.
- docs.gitlab.com/development/fe_guide/source_code/source_editor: GitLab documents Monaco in its shared production source editor.
- theia-ide.org/docs/faq: Eclipse Theia uses Monaco in its IDE framework.
- github.com/graphql/graphiql/pull/4566: GraphiQL 6 defaults to 0.57 and tests diagnostics, completion, and hover.
- github.com/OpenHands/OpenHands/pull/17977: OpenHands shipped Monaco 0.57.0 in its November release.
- replit.com/blog/code-editors: Replit explains why it moved to CodeMirror.
- 2025.stateofjs.com/en-US/other-tools: The text editor survey measures end-user tools such as VS Code.
Safe7.2
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
It has no known advisories, only two runtime dependencies and an MIT licence, and Microsoft publishes it. The Scorecard of 7.8 dates from 2022, with weak Token-Permissions and Fuzzing checks, so it says little about today. As a large editor that renders hover markdown, it carries some attack surface.
- advisories total: 0 advisories
- npm dependencies: 2 runtime dependencies
- scorecard: 7.8, but dated 2022-08-15
GPT-6.2 Sol: 6.3, likely 4.9 to 7.8
Monaco uses the MIT license, declares two direct dependencies, and has zero direct advisories in the collector. Stable 0.57.0 bundles DOMPurify 3.4.15, which has published advisories, and an npm override alone leaves the bundled copy in place. The September release fixed earlier sanitizer findings, and the changelog lists a further update for the unpublished 0.57.1. The 2022 Scorecard flagged token permissions and fuzzing, while current npm publishing controls and practical exposure in Monaco integrations remain uncertain.
- npm license, npm dependencies and advisories total: MIT, two direct dependencies, and zero direct OSV entries.
- scorecard date, score and checks: 7.8 in 2022, with zeroes for token permissions and fuzzing.
- github.com/microsoft/monaco-editor/issues/5517: Open report on the bundled version and the limits of npm overrides.
- github.com/advisories/GHSA-cg2g-xh64-v4q7: Upstream advisory includes DOMPurify 3.4.15.
- github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md: Records the September sanitizer upgrade and a further update in 0.57.1.
- github.com/microsoft/monaco-editor/releases/tag/v0.57.0: GitHub verified the signature on the stable release commit.
Good
- It gives you VS Code's editing in the browser: IntelliSense, multi-cursor, a diff editor, minimap and go-to-definition.
- TypeScript, JavaScript, JSON (with schema validation), CSS and HTML language services come built in, and 0.55 added an LSP namespace.
- Microsoft maintains it alongside VS Code, with frequent builds and full TypeScript types.
- It pulls in only two runtime dependencies, uses the MIT licence and has no known advisories.
Bad
- The bundle is large: roughly 0.8 MB min+gzip for the core and several MB for the full build, plus web-worker setup.
- Mobile browsers are not officially supported.
- It is still on 0.x, and recent minors broke code: namespaces moved in 0.55, ESM entry points were reorganised in 0.56, and the AMD build is deprecated.
- The API is verbose and the docs are thin, and theming and global language state are awkward to work with. Sourcegraph and Replit both left it for these reasons.
The numbers
- npm downloads, 4 weeks
- 54M ×5.2 in a year
- GitHub stars
- 47k
- Commits, 12 months
- 229
- npm version
- 0.57.0 Sept 2026
- Versions, 12 months
- 2
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 7.8 out of 10, Aug 2022
- Licence
- MIT
The editor of VS Code, packaged for the web.
Read on 21 November 2026 from GitHub (microsoft/monaco-editor), npm (monaco-editor), OSV and the OpenSSF Scorecard.