Best Rich Text Editor for React Apps (2026)

For most solo developers adding an editor to a React or Next.js SaaS, Tiptap is the default: MIT core, headless, huge ecosystem, and you only pay if you want its hosted collaboration or AI. Pick BlockNote for a Notion-style block editor with UI included, Lexical if you want Meta's MIT framework and are happy to build the UI, and Plate if you live in shadcn/ui. Be careful with GPL licences in closed-source SaaS.

Editorial title card reading "Best Rich Text Editor for React Apps (2026)" beside the orange ZeroRaised mark.

Key takeaways

  • Tiptap's editor is MIT and free; its paid Platform starts at $59/mo ($49/mo billed annually) and covers hosted collaboration, comments, history, conversion and AI.
  • Lexical (Meta) is MIT, at version 0.53.0 on npm on 24 Nov 2026, with React bindings, Yjs collaboration and JSON, HTML and Markdown conversion.
  • BlockNote's core is MPL-2.0 and ships Notion-style UI; its XL packages (AI, multi-column, PDF/DOCX export) are GPL-3.0 or need the $195/mo Business licence.
  • CKEditor 5 and TinyMCE are GPL2+ when self-hosted; both have free cloud plans with 1,000 editor loads a month, then paid tiers from $144/mo and $79/mo (annual).
  • Whatever you pick, sanitise stored HTML before rendering it: OWASP recommends DOMPurify.
On this page 22
  1. TL;DR
  2. What a solo SaaS developer actually needs from an editor
  3. The editors at a glance
  4. npm weekly downloads, week of 17 to 23 Nov 2026
  5. Tiptap: the default for most SaaS products
  6. Minimal Tiptap React sample
  7. Lexical: Meta's MIT framework
  8. BlockNote: Notion-style blocks, UI included
  9. Plate: Slate plus shadcn/ui
  10. Slate, Quill, CKEditor 5, TinyMCE and the rest
  11. Collaboration: Yjs, Hocuspocus or Liveblocks
  12. Licence pitfalls in a closed-source SaaS
  13. Store JSON, sanitise HTML
  14. Decision table
  15. Frequently asked questions
  16. What is the best rich text editor for React in 2026?
  17. Is Tiptap free for commercial use?
  18. Can I use a GPL editor like CKEditor 5 or TinyMCE in a closed-source SaaS?
  19. Tiptap vs Lexical: which should I choose?
  20. How do I render editor HTML safely?
  21. Ship the editor, then launch
  22. Sources

Verdict: Use Tiptap for most React or Next.js SaaS products: the editor is MIT and free, headless, and its paid Platform is optional. Use BlockNote if you want a Notion-style block editor with the UI already built, Lexical if you want Meta's MIT framework and will build your own UI, and Plate if your app is built on shadcn/ui.

Every price, licence and version below was read from the vendor's own page, GitHub or npm on 24 Nov 2026. The advice in between is ours and is marked as such.

TL;DR#

  • Tiptap: MIT core, headless, built on ProseMirror (GitHub). Paid Tiptap Platform from $59/mo, or $49/mo billed annually (pricing).
  • Lexical: MIT, from Meta, React bindings in @lexical/react, version 0.53.0 on npm. No paid tier.
  • BlockNote: MPL-2.0 core with block UI included. XL packages (AI, multi-column, PDF/DOCX export) are GPL-3.0 or need Business at $195/mo (pricing).
  • Plate: MIT, Slate-based, shadcn/ui components. Optional Plate Plus from €299 one-time (Plate Plus).
  • CKEditor 5 and TinyMCE: feature-rich, but GPL2+ when self-hosted. Both have free cloud plans with 1,000 editor loads a month (CKEditor, TinyMCE).
  • Always sanitise stored HTML. OWASP recommends DOMPurify (OWASP).

Disclosure: ZeroRaised publishes this comparison and is a launch site for bootstrapped products. ZeroRaised has no commercial relationship with any editor or vendor named here and earns nothing if you choose one. Facts come from the linked sources as checked on 24 Nov 2026.

What a solo SaaS developer actually needs from an editor#

Most SaaS products need one of four editors: a comment or note box (bold, links, mentions), a CMS field rendered on public pages, a Notion-style document editor, or an AI writing surface. If yours is a CMS field, also read our headless CMS guide for indie makers: a hosted CMS may save you building the editor at all.

Our read: decide which you are building first. A comment box built on a document framework is fine; a Notion clone built on a comment box is a rewrite.

The editors at a glance#

EditorLicenceReact integrationHeadless or UI includedCollaboration pathPaid parts
Tiptap 3.35.0MIT@tiptap/reactHeadlessHocuspocus (MIT, self-host), Tiptap Platform, or LiveblocksPlatform from $49/mo (annual)
Lexical 0.53.0MIT@lexical/reactHeadless frameworkYjs integration, LiveblocksNone
BlockNote 0.57.0MPL-2.0 core; XL packages GPL-3.0 or proprietary@blocknote/reactUI includedBuilt-in real-time collaborationBusiness $195/mo for XL commercial licence
Plate 53.5.2MITNative Reactshadcn/ui components you copy inNot verified herePlate Plus €299 / €799 one-time
Slate 0.147.4MITslate-reactHeadless frameworkBuild your ownNone
Quill 2.0.3BSD-3-ClauseNo first-party React wrapper verifiedUI included (toolbar themes)Build your ownNone
CKEditor 5 49.1.0GPL2+ self-hosted, or commercial@ckeditor/ckeditor5-reactUI includedPaid featuresFree cloud, then from $144/mo (annual)
TinyMCE 8.10.2GPL2+ self-hosted, or commercial@tinymce/tinymce-react (MIT)UI includedNot covered hereFree cloud, then from $79/mo (annual)
Novel 1.0.2Apache-2.0React, built on TiptapUI includedVia TiptapNone

Versions and licences from each package's npm registry entry on 24 Nov 2026 (for BlockNote, @blocknote/react and @blocknote/xl-ai). Licence wording for CKEditor and TinyMCE from their pricing pages.

npm weekly downloads, week of 17 to 23 Nov 2026#

PackageDownloads
@tiptap/react32,137,652
lexical9,530,151
quill8,376,552
slate4,914,479
tinymce1,499,186
@milkdown/kit1,310,976
ckeditor51,153,370
@blocknote/react1,066,536
platejs905,437
novel91,360

Source: the npm downloads API, read 24 Nov 2026. Downloads include transitive installs (BlockNote and Novel pull in Tiptap), so treat them as a rough signal of ecosystem size. GitHub stars on 24 Nov 2026: Tiptap 39.1k, Lexical 24.0k, Plate 16.7k (repository pages).

Tiptap: the default for most SaaS products#

Tiptap describes itself as "The headless rich text editor framework for web artisans" and says it "is based on the highly reliable ProseMirror library" (GitHub). Headless means it gives you the editing engine and you bring the toolbar and styles, which fits neatly with whatever you picked from our React component libraries roundup.

What is free. Tiptap's pricing page says "The Tiptap Editor is open source (MIT) and free." In the 3.0 release, "Features like Drag-handle, Emoji, Math, File Handling, and more are now open-source" (Tiptap 3.0 notes). Hocuspocus, its Yjs-based collaboration backend, is listed as an MIT "self-hosted realtime collaboration engine" (Tiptap OSS commitment), and @hocuspocus/server 4.9.0 is MIT on npm.

What is paid. The same page says "AI, collaboration, and version history require Tiptap Platform", meaning the managed versions plus DOCX import/export and conversion. Platform plans (pricing):

PlanMonthlyBilled annuallyCloud documents per environmentDeveloper licences
Start$59/mo$49/mo5002
Team$179/mo$149/mo5,0005
Business$1,199/mo$999/mo50,00010
EnterpriseCustomCustomCustomCustom

All plans include real-time collaboration, comments, document history and the in-line AI extension. Start and Team have a 30-day trial with no card, and the page says "No refunds, but the 30-day free trial lets you test all features before subscribing." The AI Toolkit and Tracked Changes add-ons are priced by sales.

Output: HTML or ProseMirror JSON (editor.getHTML() and editor.getJSON()).

Our read: Tiptap is the safest default. The free editor covers comments, notes, CMS fields and a decent document editor. Price Start's 500-document cap against self-hosting Hocuspocus before you commit.

Minimal Tiptap React sample#

Install, per Tiptap's React guide:

npm install @tiptap/react @tiptap/pm @tiptap/starter-kit

A client component for Next.js. The immediatelyRender: false option is what Tiptap's guide uses for server-side rendering:

'use client'

import { useEditor, EditorContent } from '@tiptap/react'
import StarterKit from '@tiptap/starter-kit'

export default function NoteEditor({ initial, onSave }: {
  initial: object | string
  onSave: (json: object) => void
}) {
  const editor = useEditor({
    extensions: [StarterKit],
    content: initial,
    immediatelyRender: false,
    onUpdate: ({ editor }) => onSave(editor.getJSON()),
  })

  if (!editor) return null
  return <EditorContent editor={editor} />
}

Store the JSON, debounce onSave in a real app, and render it back through the editor in read-only mode (editable: false) or a server-side renderer.

Lexical: Meta's MIT framework#

Lexical says it is "an extensible text editor framework that provides excellent reliability, accessibility and performance" (GitHub). Its docs say "@lexical/react provides React bindings", list real-time collaboration through "the Yjs integration", and state "Content converts to and from JSON, HTML, and Markdown" (Lexical docs). The core is framework-agnostic and can run without a DOM, which is useful for server-side conversion.

There is no paid tier. The cost is your time: Lexical ships plugins and a playground, not a polished product UI. Liveblocks publishes @liveblocks/react-lexical if you want hosted collaboration.

Our read: pick Lexical if you want full control over node types and are comfortable with a pre-1.0 version number (0.53.0 on npm today). For a solo founder who wants to ship this week, Tiptap's ready-made extensions usually win.

BlockNote: Notion-style blocks, UI included#

"BlockNote is built on top of the widely used ProseMirror and TipTap" (BlockNote docs). Unlike Tiptap, it ships the UI: slash menus, drag-and-drop blocks, formatting toolbars.

Licensing has two layers (pricing):

  • Core: "The core library is licensed under the MPL 2.0 license." The Community plan is free and includes all blocks and UI components, drag-and-drop, slash commands, real-time collaboration and comments.
  • XL packages: AI integration, multi-column layouts and export to PDF, DOCX, ODT and email "are dual-licensed and available under GPL-3.0." npm lists @blocknote/xl-ai as "GPL-3.0 OR PROPRIETARY". For closed-source use you need Business at $195/month or $2,340 billed yearly, which covers one application per licence. The page mentions discounts for startups with fewer than 5 employees.

Our read: BlockNote is the quickest route to a Notion-like editor. Stay on the MPL core and it costs nothing; the moment you want AI or DOCX export in a closed-source SaaS, budget $195 a month or build those parts yourself on Tiptap.

Plate: Slate plus shadcn/ui#

Plate describes itself on npm as "a framework for building rich text editors on the web", and its package depends on @platejs/slate, so it is built on Slate. It is MIT on GitHub and npm, and its tagline is "Rich-text editor with AI and shadcn/ui". Components are copied into your project in the shadcn style, so you own the UI code.

Plate Plus is optional (pro.platejs.org): Personal is €299 one-time for one developer, and Teams is €799 one-time. Both include premium components, the AI editor template and future updates.

Our read: if your app already uses shadcn/ui and Tailwind, Plate feels native, and a one-time fee beats a subscription for a bootstrapper. If you are not on shadcn/ui, its advantage shrinks.

Slate, Quill, CKEditor 5, TinyMCE and the rest#

  • Slate (MIT, 0.147.4): "A completely customizable framework for building rich text editors." Powerful, but you build almost everything. Use Plate instead unless you need to go lower level.
  • Quill (BSD-3-Clause, 2.0.3): a mature editor with a built-in toolbar. Fine for a simple comment box; we did not verify a first-party React wrapper, so expect to wrap it in a useEffect yourself.
  • CKEditor 5 (pricing): Free plan with 1,000 editor loads a month (then $60 per 1,000), a commercial licence, one application and a "Powered by CKEditor" watermark. Essential is $160/mo or $144/mo annually with 5,000 loads; Professional $319/mo or $289/mo annually with 20,000 loads. If you go over on Free without a card, "your editor will become read-only for the rest of the month." Self-hosted, it is offered "under the GPL 2+ license for self-hosted GPL2+ compliant projects."
  • TinyMCE (pricing): Free cloud plan with 1,000 loads a month (then $40 per 1,000), one domain plus subdomains. Essential $79/mo and Professional $145/mo, both per month paid annually, with 5,000 and 20,000 loads. The self-hosted Open Source option is under a "GPL2+ open source software license."
  • Novel (Apache-2.0): a "Notion-style WYSIWYG editor with AI-powered autocompletions" built on Tiptap. A starting template, not a separate engine.

Our read: CKEditor 5 and TinyMCE suit apps where non-technical users expect Word-like features and you accept paying per editor load. For most indie SaaS, load pricing and the GPL default make them a second choice.

Collaboration: Yjs, Hocuspocus or Liveblocks#

Real-time collaboration here almost always means Yjs. Three routes:

  1. Self-host Hocuspocus (MIT) with Tiptap. Cheapest in cash, but you run a WebSocket server.
  2. Tiptap Platform from $49/mo annually, which includes collaboration, comments and history.
  3. Liveblocks (pricing): Free plan with hard caps including 500 monthly active rooms, 10 simultaneous connections per room and 3,000 realtime collaboration minutes. Pro is $30/mo ($25/mo annually) with $30 of included credits, then pay-as-you-go. Liveblocks publishes Apache-2.0 @liveblocks/react-tiptap and @liveblocks/react-lexical packages.

Our read: do not add collaboration until a customer asks for it. Store JSON from day one and the Yjs migration later is far easier.

Licence pitfalls in a closed-source SaaS#

This section is our analysis, not legal advice. Talk to a lawyer about your own situation.

  • MIT, BSD and Apache-2.0 (Tiptap core, Lexical, Plate, Slate, Quill, Novel): permissive. Keep the licence notices.
  • MPL-2.0 (BlockNote core): file-level copyleft. Changes to BlockNote's own files are expected to stay open; your surrounding app code is not covered.
  • GPL-3.0 (BlockNote XL) and GPL2+ (self-hosted CKEditor 5 and TinyMCE): the vendors sell commercial licences for closed-source use, which tells you how they read it. Shipping GPL editor code to browsers in a proprietary SaaS without one is the risk to avoid.
  • Check transitive installs. Run a licence checker in CI so a GPL package does not slip in through an "XL" import.

Store JSON, sanitise HTML#

Rich text is the most common XSS hole in small SaaS apps. OWASP's cheat sheet says "HTML Sanitization will strip dangerous HTML from a variable and return a safe string of HTML. OWASP recommends DOMPurify for HTML Sanitization", and warns "If you sanitize content and then modify it afterwards, you can easily void your security efforts" (OWASP).

Our rules: store the editor's JSON as the source of truth; if you render HTML with dangerouslySetInnerHTML, run it through DOMPurify (3.5.0 on npm today) at render time, after any transformation; and never trust HTML just because your editor produced it, since an attacker can POST anything to your API.

Decision table#

Our editorial picks, based on the prices and licences above.

Your situationOur pickCost
Comment box or notes in a SaaSTiptap (StarterKit)$0
CMS field rendered on public pagesTiptap, JSON stored, HTML sanitised$0
Notion-style document editor, fastBlockNote Community$0
Notion-style editor with AI and DOCX export, closed sourceBlockNote Business, or Tiptap plus your own export$195/mo, or Tiptap Platform from $49/mo
App built on shadcn/ui and TailwindPlate$0, or €299 one-time for Plate Plus
You want total control of nodes and UILexical$0
Real-time collaboration, minimal opsTiptap Platform or LiveblocksFrom $49/mo or $25/mo (annual)
Real-time collaboration, minimal spendTiptap + self-hosted HocuspocusServer cost only
Word-like features for non-technical usersCKEditor 5 or TinyMCE cloudFree to 1,000 loads/mo
You want zero licence questionsTiptap, Lexical or Plate (all MIT)$0

Frequently asked questions#

What is the best rich text editor for React in 2026?#

For most solo SaaS developers, Tiptap. Its core is MIT, it is headless so it fits any design system, @tiptap/react had about 32.1M npm downloads in the week to 23 Nov 2026, and you only pay for Tiptap Platform if you want hosted collaboration, comments, history, conversion or AI. BlockNote is the best pick if you want a finished Notion-style UI.

Is Tiptap free for commercial use?#

The editor is. Tiptap says the editor is open source under MIT and free, and many former Pro extensions such as drag handle, emoji, math and file handling became open source in Tiptap 3. Hosted collaboration, comments, version history, DOCX conversion and AI need a Tiptap Platform plan, which starts at $59/mo or $49/mo billed annually. Hocuspocus, the self-hosted collaboration server, is MIT.

Can I use a GPL editor like CKEditor 5 or TinyMCE in a closed-source SaaS?#

That is a legal question, not a technical one, so ask a lawyer. Both vendors offer their self-hosted editor under GPL2+ and sell commercial licences through their plans. CKEditor's free cloud plan lists a commercial licence and 1,000 editor loads a month; TinyMCE's free plan also has 1,000 loads but lists a commercial licence only from Essential. If you do not want to think about it, choose an MIT editor such as Tiptap, Lexical, Plate or Slate.

Tiptap vs Lexical: which should I choose?#

Both are MIT, headless and support Yjs collaboration. Tiptap has more ready-made extensions, a paid hosted backend and a larger npm footprint (about 32.1M vs 9.5M weekly downloads in the week to 23 Nov 2026). Lexical is Meta's framework, still pre-1.0 at 0.53.0, and suits developers who want to build their own node types and UI. Our read: Tiptap ships faster for a solo developer.

How do I render editor HTML safely?#

Prefer storing the editor's JSON and rendering it through the editor or your own renderer. If you store and render HTML, sanitise it with an allowlist sanitiser before it hits the page. OWASP's XSS cheat sheet says it recommends DOMPurify for HTML sanitisation and warns that modifying content after sanitising can void your security efforts.

Ship the editor, then launch#

An editor is a feature, not a product. Once yours works, follow our guide on how to launch a bootstrapped app, then submit your product to ZeroRaised for free. For more practical comparisons for builders without investors, join the ZeroRaised newsletter.

Sources#

All last checked 24 Nov 2026.

Frequently asked questions

What is the best rich text editor for React in 2026?

For most solo SaaS developers, Tiptap. Its core is MIT, it is headless so it fits any design system, @tiptap/react had about 32.1M npm downloads in the week to 23 Nov 2026, and you only pay for Tiptap Platform if you want hosted collaboration, comments, history, conversion or AI. BlockNote is the best pick if you want a finished Notion-style UI.

Is Tiptap free for commercial use?

The editor is. Tiptap says the editor is open source under MIT and free, and many former Pro extensions such as drag handle, emoji, math and file handling became open source in Tiptap 3. Hosted collaboration, comments, version history, DOCX conversion and AI need a Tiptap Platform plan, which starts at $59/mo or $49/mo billed annually. Hocuspocus, the self-hosted collaboration server, is MIT.

Can I use a GPL editor like CKEditor 5 or TinyMCE in a closed-source SaaS?

That is a legal question, not a technical one, so ask a lawyer. Both vendors offer their self-hosted editor under GPL2+ and sell commercial licences through their plans. CKEditor's free cloud plan lists a commercial licence and 1,000 editor loads a month; TinyMCE's free plan also has 1,000 loads but lists a commercial licence only from Essential. If you do not want to think about it, choose an MIT editor such as Tiptap, Lexical, Plate or Slate.

Tiptap vs Lexical: which should I choose?

Both are MIT, headless and support Yjs collaboration. Tiptap has more ready-made extensions, a paid hosted backend and a larger npm footprint (about 32.1M vs 9.5M weekly downloads in the week to 23 Nov 2026). Lexical is Meta's framework, still pre-1.0 at 0.53.0, and suits developers who want to build their own node types and UI. Our read: Tiptap ships faster for a solo developer.

How do I render editor HTML safely?

Prefer storing the editor's JSON and rendering it through the editor or your own renderer. If you store and render HTML, sanitise it with an allowlist sanitiser before it hits the page. OWASP's XSS cheat sheet says it recommends DOMPurify for HTML sanitisation and warns that modifying content after sanitising can void your security efforts.