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.5.0

New Features
- New toolbar icons.
- Highlight the same substrings of the selection automatically (Customize the behavior in General preferences pane).
- New option to allow overscrolling (Customize the behavior in Window preferences pane).
- Enable to change the tab width of a specific document to a desired number.
- Let the input fields in the find panel accept text scaling commands, such as “Bigger”, “Smaller” and “Reset to Default”.

- Add command “Select All Find Matches” in Find menu.
- Improve the editor's scrolling behavior to scroll along the predominant axis.
- Add menu item to toggle the visibility of the sidebar inspector.
- Remove some setting options for windows such as window size and visibilities of document inspector and status bar from Window preferences pane.
 - From now on, the latest change to a window will be inherited to future windows just like other standard Cocoa applications.
- Remove “length” display in the status bar.
- Remove feature to change only the frontmost editor's opacity temporary.
 - From this, `view opacity` property on AppleScript is also deprecated.
- Keep the cursor position as possible after the editor content is updated to the latest version modified by another process.
- Display current user's system-wide setting for window tabbing in the menu on the Window pane.
- Optimize the performance of character counting.
- Improve general stability of the print operation.
- Optimize auto URL detection with paste to a large document.
- Update Python syntax style for Python 3.7.
- Update Swift syntax style for Swift 4.2 and some improvements.

- Fix an unlocalized text.

Ratings and Reviews

4.9 out of 5

18 Ratings

18 Ratings

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!

Opens so quickly!


Works great with Alfred App and "Open with...". Did I mention it opens quickly? I haven't done tests with large files but for quickly getting at a text file it's great.

Excellent. Top shelf software.


CotEditor is easy to use, full-featured and just plain looks gorgeous. I had never heard of this app before - what an amazing surprise.


26.7 MB
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