# ProseMirror

> A toolkit for building rich-text editors on the web

Source: https://talira.ai/catalog/prosemirror-evqa3tbb
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Framework
- Categories: [libraries / editors / rich text](https://talira.ai/categories/libraries/editors/rich-text), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Platforms: web
- Licence: MIT
- Pricing: Free and open source
- Pricing notes: Free under MIT; the site says profit-making users have a social expectation to help fund maintenance.
- Free tier: yes
- Self-hostable: yes
- Plugins: yes
- Backed by: [Marijn Haverbeke](https://talira.ai/orgs/marijn-haverbeke.md)
- Creator: Marijn Haverbeke, who also maintains CodeMirror and Lezer
- Funding: funded by donations[^1][^2]
- Sponsors: Posit, The New York Times, Tiptap, Scripto, Asana, BlockNote, Box, Desmos, The Guardian, Yarn, Fellow, Sunsama

ProseMirror is a toolkit for building rich text editors on top of contentEditable, where you define the document schema yourself and every change is a transaction on an immutable document. It is a set of separate modules (model, state, view, transform, commands, history, collaborative editing and more) with a small generic core, so very different editors can be built on it. It has built-in support for real-time collaborative editing and a plugin system for adding behaviour.

## Links

- Website: https://prosemirror.net
- Docs: https://prosemirror.net/docs/

## Problems it solves

- build a rich text editor for a document format that isn't just HTML
- contentEditable gives me messy, inconsistent HTML across browsers
- my users need to edit structured documents with only the elements I allow
- add Google Docs style real-time collaboration to my editor
- build a WYSIWYG editor for Word-like documents with tables and lists
- store the editor's content as JSON I can validate and transform on the server
- track every change to a document so I can undo, redo and sync it
- write a Markdown editor that shows formatted text as you type
- Quill and similar editors can't handle the custom block types I need
- insert custom inline widgets like merge fields or mentions into rich text
- control exactly what pasting from Word or Google Docs puts into my editor

## Features

- custom document schemas
- immutable state and transactions
- collaborative editing
- plugin system
- undo history
- input rules
- keymaps
- Markdown parsing and serializing
- tables module
- modular packages

## Capabilities

- Takes plugins: plan not known

## Trust

Overall: 0.82 out of 1.
Signals: maintenance 1.00, adoption 1.00, backing 0.90, extensibility 0.20.

- latest package release 11 days ago (npm prosemirror-inputrules 1.6.0)
- packages released for 10 years
- 1819.0M package downloads a month (npm)
- backed by Marijn Haverbeke
- created by Marijn Haverbeke, who also maintains CodeMirror and Lezer
- funding: funded by donations
- sponsored by Posit, The New York Times, Tiptap, Scripto
- has a plugin system

## Alternatives

- [Lexical](https://talira.ai/catalog/lexical-4p1yzh9p.md): An extensible text editor framework that provides excellent reliability, accessibility and performance
- [Tiptap](https://talira.ai/catalog/tiptap-j5qbgxa3.md): The headless rich text editor framework for web artisans
- [Quill](https://talira.ai/catalog/quill-gbrkh4he.md): Quill is a modern WYSIWYG editor built for compatibility and extensibility
- [Univer](https://talira.ai/catalog/univer-r0hsese8.md): Build your own AI office with Univer Office SDK
- [CKEditor 5](https://talira.ai/catalog/ckeditor-5-b1w05kmz.md): Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing

## Sources

[^1]: https://marijnhaverbeke.nl/fund/ (checked 20 Nov 2026)
[^2]: https://codemirror.net/ (checked 20 Nov 2026)
