CodeMirror logo

CodeMirror

In-browser code editor used in the dev tools for both Firefox and Chrome, Light Table, Adobe Brackets, Bitbucket, and many other projects.

What is CodeMirror?

CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the language you are coding in, it will color your code, and optionally help with indentation.
CodeMirror is a tool in the Text Editor category of a tech stack.
CodeMirror is an open source tool with 23.9K GitHub stars and 4.8K GitHub forks. Here’s a link to CodeMirror's open source repository on GitHub

Who uses CodeMirror?

Companies
151 companies reportedly use CodeMirror in their tech stacks, including Morgan Stanley, Deloitte, and Flutterwave.

Developers
103 developers on StackShare have stated that they use CodeMirror.

CodeMirror Integrations

Pros of CodeMirror
6
Integrable in your application
4
Better content manipulation methods
3
Easy Custom Mode
1
JavaScript based
1
Easy setup

Blog Posts

JavaScriptGitHubPython+42
52
19917

CodeMirror's Features

  • Support for over 60 languages out of the box
  • A powerful, composable language mode system
  • Autocompletion (XML)
  • Code folding
  • Configurable keybindings
  • Vim, Emacs, and Sublime Text bindings
  • Search and replace interface
  • Bracket and tag matching
  • Support for split views
  • Linter integration
  • Mixing font sizes and styles
  • Various themes
  • Able to resize to fit content
  • Inline and block widgets
  • Programmable gutters
  • Making ranges of text styled, read-only, or atomic
  • Bi-directional text support

CodeMirror Alternatives & Comparisons

What are some alternatives to CodeMirror?
Ace
Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page or JavaScript application.
TinyMCE
It is the most advanced WYSWIYG HTML editor designed to simplify website content creation. The rich text editing platform that helped launch Atlassian, Medium, Evernote, and more.
Prism
It is a lightweight, beautiful and extensible syntax highlighter, built with modern web standards in mind. It’s used in thousands of websites, including some of those you visit daily.
Visual Studio Code
Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
Sublime Text
Sublime Text is available for OS X, Windows and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses. Sublime Text uses a custom UI toolkit, optimized for speed and beauty, while taking advantage of native functionality on each platform.
See all alternatives

CodeMirror's Followers
168 developers follow CodeMirror to keep up with related blogs and decisions.