Building blocks and outside APIs · Comparison

TipTap vs CodeMirror

Both are open-source editors for the browser, and both trace back to the same author's editing engines, but they edit different things: TipTap edits formatted documents, CodeMirror edits code and plain text.

2 options · 8 questions side by side · updated

CompareTipTapCodeMirror
What it editsRich text: headings, lists, imagesCode and plain text
Built onProseMirrorIts own engine, with Lezer parsers
Saved asJSON or HTMLPlain text
Key featuresToolbars, mentions, tables, embedsHighlighting, autocomplete, linting, multiple cursors
CollaborationYjs, self-hosted or through Tiptap PlatformPossible with Yjs bindings, wired up yourself
LooksHeadless: you style everythingThemeable, with a default look
CostFree core; paid cloud featuresFree
Best forNotes, comments, CMS and document editorsPlaygrounds, SQL consoles, config editors

How to choose between TipTap and CodeMirror

  • Pick TipTap when users write formatted documents, posts or comments.
  • Pick CodeMirror when users write code, queries, config files or Markdown source.
  • Some apps use both: TipTap for the document and CodeMirror inside its code blocks.

The options

More comparisons

Crafted in the dark. Shipped to the world.

Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.