CotEditor featured image

CotEditor for Mac

Be the first to rate!

Edit plain text on Mac with CotEditor, a free open source syntax editor.

Verified Safe No Malware Editor Tested
M
Reviewed by
Matthew
Content Editor

CotEditor Overview

CotEditor is a free, open source plain-text editor for Mac. It highlights syntax for more than 70 programming and markup languages, from HTML and Python to Markdown and Swift. Find and replace runs on the ICU regular-expression engine, powerful enough for serious search-and-replace work. Every setting lives in a standard settings window instead of a config file, covering syntax definitions, themes, and key bindings. The app launches almost instantly, splits into multiple panes for viewing different parts of a document, and includes a character inspector for checking Unicode data. Scripts in Python, Ruby, Perl, PHP, shell, AppleScript, or JavaScript can automate repetitive text tasks directly inside the app. A bundled command-line tool called cot opens and controls documents straight from Terminal.

Why Choose CotEditor Mac App

TextEdit handles basic notes fine, but it falls short the moment syntax highlighting, regex search, or scripting comes up. A full IDE like Xcode solves that, but drags in far more than a quick text file needs. CotEditor sits in between. It opens fast, highlights over 70 languages, and handles serious find-and-replace work, all without a project manager or plugin system getting in the way.

CotEditor is built only for macOS, not ported from anywhere else. It follows macOS conventions for Dark Mode, Versions, iCloud, and VoiceOver, and every setting lives in a standard settings window instead of a config file. The current version requires macOS 15 (Sequoia) or later, a higher bar than many similarly simple text editors ask for, since recent releases lean on newer macOS text-rendering and security features.

Key Features

  • Syntax highlighting for 70+ languages: colorizes HTML, PHP, Python, Ruby, Markdown, and dozens more, with support for custom syntax definitions.
  • ICU-powered find and replace: runs regular-expression search and replace using the same engine found in many professional tools.
  • GUI-based settings: configures syntax definitions, themes, and every other setting from a standard settings window, no config files to hand-edit.
  • Auto Save with backup: saves work automatically while editing, with an option to avoid overwriting the original file.
  • Outline menu: extracts key lines based on the document's syntax and jumps straight to them.
  • Split editor: divides a window into multiple panes to view different parts of a document at once.
  • Character inspector: shows Unicode data and an enlarged glyph for any selected character.
  • Multi-cursor editing: edits multiple points in a document at the same time.
  • Sidebar file browser: navigates a project's folder structure directly from the sidebar.
  • Scripting support: automates tasks in Python, Ruby, Perl, PHP, UNIX shell, AppleScript, or JavaScript.
  • Command-line tool: opens and controls documents from Terminal using the bundled cot command.
  • Incompatible character detection: flags characters in a document that can't convert into a chosen text encoding.

Screenshots

CotEditor 1

CotEditor 2

CotEditor 3

What's New in CotEditor 7.0.9 Version

Version 7.0.9, released within the past week, is a small maintenance update:

  • Avoids an unnecessary scroll after inserting a snippet when the target range is already visible
  • Updates the Markdown syntax to improve heading highlights
  • Updates the bundled tree-sitter-scala parser to version 0.26.2
  • Fixes a regex replacement bug where the "Unescape replacement text" option incorrectly removed escaped backslashes
  • Fixes two LaTeX syntax issues affecting outline extraction and argument brace highlighting
  • Fixes a Scala syntax issue where string interpolators were highlighted in the wrong color
  • Fixes typos in the Dutch and French localizations

Supported macOS Versions

CotEditor requires macOS 15 (Sequoia) or later. That requirement reflects how actively the app is developed. Recent versions moved core syntax highlighting to a tree-sitter-based parser, added a Liquid Glass interface refresh for macOS 26 Tahoe, and lean on newer text-rendering APIs that older systems don't support. Since it's a lightweight, plain-text focused app, hardware demands stay low regardless of Mac model. The real requirement to watch is the OS version, not the processor or RAM.

How to Download and Install CotEditor on Mac?

CotEditor is also available on the Mac App Store, but installing the direct download version only takes a few steps.

  1. Click the Download button above to securely download the setup file.
  2. Open the downloaded file, then drag CotEditor into your Applications folder.
  3. Launch CotEditor from Applications. If macOS shows an "unidentified developer" warning, go to System Settings → Privacy & Security and click Open Anyway.

Grant permission if prompted when opening files from outside the app's sandbox, such as a folder added to the sidebar.

CotEditor opens straight to a new document, with no account or sign-in required. This direct download checks for updates itself rather than relying on the App Store, and it skips the optional donation prompts built into the App Store version.

How to Use CotEditor Mac App?

  1. Open a plain-text file, or start a new untitled document from the File menu.
  2. Choose a syntax from the toolbar menu to enable highlighting for that language.
  3. Use Find, accessible from the Edit menu, for a quick search or a full regular-expression replace.
  4. Open the sidebar to browse a project folder, or the Outline inspector to jump between key lines.
  5. Split the editor from the View menu to see two parts of the same document side by side.
  6. Save the file, or let Auto Save handle it automatically as changes are made.

Alternatives to CotEditor

Visual Studio Code: Free, actively maintained code editor with a much larger extension ecosystem and IDE-style features.

BBEdit: Offers a genuinely free unregistered mode with core text editing, alongside a paid tier for advanced features.

TextEdit: Built into every Mac at no cost, covering basic plain-text and rich-text editing without syntax highlighting.

Pros
  • Every feature is free; in-app purchases are optional donations rather than paywalled functionality
  • Open source code means anyone can inspect, report issues on, or contribute to the project
  • Launches almost instantly, even compared to other lightweight text editors
  • Syntax highlighting for 70-plus languages covers most coding and markup needs out of the box
  • Scriptable in several languages, letting repetitive text tasks be automated directly inside the app
Cons
  • Requires macOS 15 (Sequoia) or later, ruling out older Macs that haven't updated
  • Syntax highlighting and tooling are less extensive than a dedicated IDE for large, complex codebases
  • The Mac App Store version shows donation prompts periodically, even though every feature already works without paying
  • Some specific syntax edge cases, visible in ongoing bug reports, still surface in less common languages
Frequently Asked Questions
Is CotEditor free?
Yes, nothing is locked behind a paywall on either distribution channel. The direct download has no in-app purchases at all, while the Mac App Store version includes optional donation tiers.
Is CotEditor open source?
Yes, its source code is publicly available, and anyone can contribute or report issues on GitHub.
What macOS version does CotEditor require?
macOS 15 (Sequoia) or later.
Does CotEditor support regular expressions in Find and Replace?
Yes, using the ICU regular expression engine.
Can CotEditor run scripts?
Yes, in Python, Ruby, Perl, PHP, UNIX shell, AppleScript, or JavaScript.
Does CotEditor include a command-line tool?
Yes, the bundled cot command opens and controls documents from Terminal.
Does CotEditor support splitting a document into multiple views?
Yes, the Split Editor feature divides a window into multiple panes.
Is CotEditor good for CJK (Chinese, Japanese, Korean) text?
Yes, it estimates file encodings accurately and supports vertical text layout for CJK writing systems.

Final Verdict

CotEditor fits anyone who wants more than TextEdit without the overhead of a full IDE. Syntax highlighting for 70-plus languages, ICU-powered regex search, and scripting support cover real coding and writing needs, and every feature staying free makes it an easy recommendation. The macOS 15 requirement rules it out for anyone on an older Mac, and heavier IDE features like debugging or project-wide refactoring aren't its focus. For quick, focused plain-text editing on a modern Mac, it's hard to find a more polished free option.

Download CotEditor for Mac Latest Version

Ready for a plain-text editor that launches instantly and stays out of the way?

Whether it's editing a config file, writing Markdown notes, or working through a script with syntax highlighting turned on, CotEditor handles it without the weight of a full IDE. Grab the direct download below and open your first document in seconds.

Ready to Download?

Free, safe, and always the latest version — CotEditor

Download CotEditor

Comments (0)

No comments yet. Be the first!

Leave a Comment

Specs preview enlarged