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
• 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
• RTL writing direction support

What's New

Version 3.6.5

New Features
- New option for cursor style (Customize the behavior in Appearances preference pane).

- Avoid drawing variant sequence as invisible control characters.
- Make line number view opaque if lines are unwrapped on macOS 10.14 to avoid drawing the editor's text over the line numbers.
- Revoke the line counting behavior change with VoiceOver in CotEditor 3.6.3.

- Fix an issue where the editor area could still tuck under the line number view.
- Fix an issue where the line number of the last empty line disappeared when lines are not wrapped and scrolled.

Ratings and Reviews

4.9 out of 5
38 Ratings
38 Ratings

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.



I thought I'd try app this out, as I've been looking for a simple text editor that supported markdown. And I was blown away by the robust features that came with this 'simple' text editor. I use like the app 'Drafts' as a starting point for all things text, and then I export (share) them to my other apps. This allows me to work with text in many ways without bogging down my computer with all the memory overhead of the other editors.

Highly recommended.

To the developer: You should really be charging something for this to allow you to keep developing it, it's that goodd.


A Wonderful Surprise

I was looking for a plain, simple text file editor and stumbled upon CotEditor. What a wonderful surprise! Not only is CotEditor a text file editor but a very full featured one. I’ve only been using it for a day and continue to find useful little features that CotEditor has built into it. I’m installing this at work and at home. Thank you very much. This is one of those free applications for which I would gladly pay a reasonable price!


27.2 MB
macOS 10.12.2 or later, 64-bit processor
English, German, Italian, Japanese, Portuguese, Simplified Chinese
Age Rating
Rated 4+
© 2005-2009 nakamuxu, 2011, 2014 usami-k, 2013-2018 1024jp


  • Family Sharing

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

More By This Developer