Lexical
Lexical is a free, open-source framework for building text editors on the web.
What Lexical is
Lexical is a free, open-source framework for building text editors on the web. Its small, dependency-free core provides editing infrastructure, while optional packages let developers assemble the capabilities their application needs. Lexical can support plain-text inputs, rich-text editors, full document editors and real-time collaborative experiences. Supported content includes mentions, hashtags, links, custom emoji, tables, lists, code blocks and images. A Yjs integration enables shared content and remote cursors for collaboration. The core is framework-agnostic, and the optional @lexical/react package supplies React bindings. Lexical handles editor infrastructure; applications provide layout, toolbars, menus, styling and storage. Content can be converted between JSON, HTML and Markdown. An editor without a root element performs no DOM work, allowing the same code to run on a server or in tests. The project began at Meta, is community-developed and MIT licensed. It follows WCAG best practices and supports screen readers and other assistive technologies. All Lexical packages should use the same version.
Good
- Free and open source
- Dependency-free core
- Supports JSON, HTML and Markdown
- Yjs enables collaborative editing
- WCAG and screen-reader support
Watch out
- Applications must provide layout and storage
- All packages should use the same version
- No free trial is listed
Who it suits
Lexical suits developers building web editors who need composable packages, structured content, React bindings or collaborative editing. It is useful when the application will provide its own interface and storage.
Verdict
Lexical provides a flexible editing foundation rather than a complete editor interface. Developers get broad content and collaboration options but must build the surrounding application experience.
The facts
Each one read from Lexical's own pages, with the date it was checked.
What it does
- Accessibility
- The homepage says Lexical follows WCAG best practices and is compatible with screen readers and other assistive technologies.checked 11 Oct 2026
- Collaboration
- Real-time collaborative editing with shared content and remote cursors is available through the Yjs integration.checked 11 Oct 2026
- Composable core
- Its small, dependency-free core has optional packages that developers can compose for their needs.checked 10 Oct 2026
- Composable packages
- The core is framework-agnostic, while @lexical/react provides React bindings and other features are supplied as optional packages.checked 11 Oct 2026
- Data formats
- Lexical content can be converted to and from JSON, HTML, and Markdown.checked 11 Oct 2026
- Editor features
- Examples of supported content include mentions, hashtags, links, custom emoji, tables, lists, code blocks, and images.checked 10 Oct 2026
- Integrations
- The documentation lists use in Meta web products and at Bloomberg, and names Payload CMS, Supabase, Proton Docs, MDXEditor, Sveltia CMS, Dify, RAGFlow, DeepSeek Harness, Paperclip, and Lexxy as products using Lexical.checked 11 Oct 2026
- License
- The GitHub repository identifies the project as MIT licensed.checked 11 Oct 2026
- Notable limit
- The React getting-started guide says all Lexical packages should use the same version.checked 11 Oct 2026
- Product
- Lexical is an extensible text editor framework for the web with a small, dependency-free core and optional packages.checked 11 Oct 2026
- Project status and license
- Lexical is an open-source community project that began at Meta.checked 10 Oct 2026
- React integration
- The core is framework-agnostic, and the optional @lexical/react package provides React bindings.checked 10 Oct 2026
- Security
- The GitHub repository links to a security policy.checked 11 Oct 2026
- Security reporting
- The repository security policy directs users to report security issues through Meta's Bug Bounty program rather than public GitHub issues or pull requests.checked 10 Oct 2026
- Serialization
- Content can be converted to and from JSON, HTML, and Markdown.checked 10 Oct 2026
- Server use
- An editor without a root element does no DOM work, so the same code can run on a server or in tests.checked 11 Oct 2026
- Support
- The homepage directs questions, bug reports, and community sharing to the Lexical Discord server.checked 11 Oct 2026
- Use cases
- It can be used for plain-text inputs, rich-text editors, full document editors, and real-time collaborative editing.checked 11 Oct 2026
- What it is
- Lexical is an extensible text editor framework for the web, built for reliability, accessibility, and performance.checked 10 Oct 2026
Where it runs
- Application responsibilities
- Lexical supplies editing infrastructure; the application supplies layout, toolbars, menus, styling, and storage.checked 10 Oct 2026
- App responsibilities
- Lexical supplies editing infrastructure; the application supplies layout, toolbars, menus, styling, and storage.checked 11 Oct 2026
Alternatives to Lexical
- 1
AiEditor
Free planOpen sourceAndroidiOSWebAPI8.3$5,000 one-time - 2
Editor.js
Free planOpen sourceAndroidiOSWebAPI7.7Free plan - 3

CKEditor 5
Free planAndroidiOSWebAPI7.3From $160 a month - 4
Froala Editor
AndroidiOSWebSelf-hosted7.1From $60 a month - 5

Tiptap
Free planWebAPISelf-hosted6.7From $49 a month - 6

Plate
Free planWebSelf-hosted6.6€299 one-time
