CotEditor is a light-weight, neat, yet powerful text editor designed for editing plain-text files such as web pages (HTML, CSS), program source codes (Python, Ruby, Perl, etc.), structured texts (Markdown, Textile, TeX, etc.), or any other kind of plain-text.

Just For Mac

The application is exactly made for macOS. CotEditor looks and behaves just as macOS applications should. It means, you already know how to use it even on the first launch. There are no complex configuration files that require geek knowledge so that you can access all your settings including syntax definitions and themes from a standard preferences window.

Quick, Easy, and Powerful

CotEditor launches so quick that you can write your text immediately when you want to. It's perfect for you to write a draft version of your document or a scratch code. The simply organized user interface doesn't disturb your task. However, at the same time, CotEditor is neither a software only for beginners nor a typical minimal “zen-style” editor. It is fully customizable. There are, of course, syntax highlighting feature for various languages, find and replace with the regular expression, auto-indentation, command-line tool, and lots of other deep functions. You can also easily write your own macro in your favorite languages.

Key Features

• Syntax highlighting including more than 50 preset languages
• Powerful find and replace with the regular expression
• Auto-backup with/without overwriting actual document files
• Line numbers view
• Live character/word/line count
• Handling file encoding and line endings with care
• Auto-generated outline menu for fast navigation
• Multi-cursor editing
• Character inspector that shows the zoomed glyph and Unicode information
• Vertical text layout mode
• Various Unicode normalizations
• Semi-transparent window
• Command-line tool
• Scriptable with your favorite language
• JCK-languages friendly

What’s New

Version 4.0.1

- Fix an issue on the Big Sur that the navigation bar in the document window disappeared.

What's New in 4.0.0

New Features
- Brand-new user interface designed to fit macOS 11 Big Sur.
- Support Apple Silicon.
- Add syntax styles for Pascal, Dockerfile, and VHDL.

- Change the system requirement to macOS 10.15 Catalina and later.
- Move line endings/file encoding menus from the toolbar to the status bar.
- Change default settings of items to display in the toolbar/status bar.
- Change the default theme from Dendrobates to Anura.
- Change the UI of the Unicode code point input to display the input field just above the insertion point.
- Change the “trim trailing whitespace on save” option in the General pane to perform the trimming not on save but while typing with delay, and move the option to the Edit pane.
- On sorting lines by pattern, evaluate numbers more intelligently when the “treat numbers as numeric value” option is enabled.
- Enable toggling the editor split orientation by right-clicking the editor split button in the navigation bar.
- Enable action to toggle editor split orientation even when no split editor is opened.
- Remove the Integration preferences pane and move its contents to the General pane.
- Enable “select previous/next outline item” commands even when the navigation bar is hidden.
- Live update selection counts while moving the selection.
- Scroll editor by swiping the line number area.
- Reduce the priority that CotEditor implicitly becomes the default application for specific file types.
- Previously, CotEditor scripts written in Unix scripts, such as Ruby or Python, were decoded using the user-preferred file-encoding set in the Format preferences pane for normal documents, now they are always interpreted as UTF-8.
- Avoid showing the “edited” indicator in the close button of document windows when the document content is empty and therefore can close the window without the confirmation dialog.
- Avoid discarding the current input when a new item is added while another item is in editing in the syntax style editor.
- Round the corners of current line highlight.
- Put only the filename rather than the absolute path for the relative path insertion (RELATIVE-PATH) when the document file itself is dropped into the editor.
- Remove the toolbar button to toggle page guide visibility.
- Remove feature to import legacy syntax style definition files of which format was used in CotEditor 1.x.

- Fix an issue that the hanging indent can be wrongly calculated when typing a word that requires user selection, such as Japanese.

Ratings and Reviews

4.9 out of 5
159 Ratings

159 Ratings

gileslewis3 ,

Really fast for editing small files

This is the fastest editor I have seen for working with small text files. I love the clean, simple interface; and especially the speed with which it launches. However, I am giving it 4 stars instead of 5 for two reasons:
(1) I think the "Enable Auto Save with Versions” feature is a bit dangerous. I did a Find to search for text, but instead of hitting “Find All”, I hit “Replace All” by mistake. I could not figure out how to undo my change, so I closed the main window thinking that I had not saved my file. But the file was auto-saved with the unintentional change. I now know that I could have closed the Find window, at which point “Undo Replace All” would have appeared as an option under the Edit menu. However, I think that “Enable Auto Save with Versions” is not a good feature for novices. The default setting should be false.
(2) I would really like to see a “Whole Word” checkbox in Find window.

Developer Response ,

Thank you for the kind review. In response to your second request, I've added "Match only whole Word" option to find panel (in "Advanced find options" via the gear button in the find panel) on CotEditor 3.6.1. Regarding the first comment, we will not change the default setting of Auto Save because it is nowadays the standard behavior of macOS applications. Please just turn it off if you want to avoid.

kibi! ,

Perfect General-Purpose Text Editor

This app is perfect for when you need something more fully-featured than TextEdit, but don't need a complicated project manager like Atom or similar. The major selling points for me are Unicode support (the ‘Inspect Character’ and ‘Input in Unicode Hex’ commands are extremely helpful, and greatly reduce the need for character escapes in your documents) and the fact that it plays well with proportional fonts (many text editors have bugs when you use a font that isn't monospace—not so with CotEditor!).

If I had to list drawbacks, the syntax highlighting is not as fully-featured as you might find in something like Atom. But I've been using CotEditor for several months and never found it missing a feature that I needed for my work, and it is refreshing the extent to which things that one might need to download a plugin for in Atom or Brackets just come built right in.

mtthwsmns ,

Love the app but updated too frequently to me

So the title pretty much says it. I love this app and use it everyday to work on html for basic hobby websites. But I feel like a new update is sent out every week. I wish they would hold off and update maybe once a month. While I do appreciate the updates and the creators fixing issues or making things better the updates just seem to be really frequent.

It's a personal opinion of mine and doesn't effect the app one way or another so I still give it 5 stars.

App Privacy

The developer, Mineko IMANISHI, has not provided details about its privacy practices and handling of data to Apple. For more information, see the developer’s privacy policy.

No Details Provided

The developer will be required to provide privacy details when they submit their next app update.


  • Family Sharing

    With Family Sharing set up, up to six family members can use this app.