In-browser code editor used in the dev tools for both Firefox and Chrome, Light Table, Adobe Brackets, Bitbucket, and many other projects.
Companies using CodeMirror
Why people like CodeMirror
Add a one-liner



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'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