Skip to content
C

CodeMirror

CodeMirror is a versatile text editor implemented in JavaScript for the browser

Domain Rating by Ahrefs82

#8878in Developer Tools
0In stores

Description

CodeMirror is a code editor component for the web. You add it to a page to give users an editing field for code or other text, with coding f…

Highlights

  • Syntax highlighting, bracket closing and line numbers
  • Autocompletion, linting and code folding
  • Search and replace with regular expressions
  • Extensible through a public API and themes
  • Works with screen readers and on mobile

Ratings & Reviews

No ratings yet

Be the first to rate CodeMirror.

People also visit

C

Codejar

An embeddable code editor for the browser

Developer Tools
Launch
Y

Yace

under 2KB code editor for browser with plugins

Developer Tools
Launch
C

Code Input

code-input.js: An editable <textarea>

Developer Tools
Launch
J

JSitor

Test your NodeJS, JavaScript, CSS, HTML online with JSitor code editor

Developer Tools
Launch
V

VSCode for Web

Build with Visual Studio Code, anywhere, anytime, entirely in your browser

Developer Tools
Launch
V

vue-codemirror6

CodeMirror6 Component for vue2 and vue3

UI Libraries
Launch

CodeMirror FAQ

What is CodeMirror?

CodeMirror is a text and code editor component for websites. You add it to a page to give users an editing field with coding features such as highlighting, line numbers and autocompletion.

Who is it for?

Developers who build web apps, editors or tools that need an editing field for code, and who want a programming interface to extend the editor with their own features.

Does it work on phones?

Yes. The site says it uses the platform's native selection and editing features on phones, and it supports keyboard-only and screen reader users.

Which features can I turn on?

Line numbers, code folding, autocompletion, linting with error and warning messages, bracket closing, undo history, multiple selections and collaborative editing, among others.

Can I try it before I use it?

Yes. The site has examples of the editor and a Try page, with a sample JavaScript field you can edit in the browser.

What are the best CodeMirror alternatives?

Popular alternatives to CodeMirror include Codejar, Yace and Code Input. See all CodeMirror alternatives

Developer Stuff

Badges