# CotEditor

構文ハイライト、エンコーディングツール、フォルダ検索、スクリプト対応のテキスト編集を備えた無料のMacネイティブエディタ。

> これは OpenNavo の CotEditor ページの Markdown 版で、内容はウェブページと同じです： <https://opennavo.com/ja/apps/coteditor>

- **最新バージョン**: `7.1.3`
- **開発元**: CotEditor Project
- **ホームページ**: <https://coteditor.com/>
- **カテゴリ**: [執筆とメモ](https://opennavo.com/ja/categories/writing)
- **インストール**: `brew install --cask coteditor`
- **過去 30 日間のインストール数**: 1,516
- **Homebrew**: インストール可能、アプリ自身が更新
- **ダウンロードURL**: <https://github.com/coteditor/CotEditor/releases/download/7.1.3/CotEditor_7.1.3.dmg>
- **SHA-256**: `c8cbe6437434516bb23f93efe057fd058ad56ded5523ac113081a8ae68dab184`
- **付属コマンド**: cot

SHA-256 はダウンロードしたファイルが完全かを確かめるためのもので、安全性の認証ではありません。

## インストールとアンインストールの内容

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "quit": "com.coteditor.CotEditor"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "CotEditor.app"
      ],
      "target": "/Applications/CotEditor.app"
    },
    "phase": "install",
    "sources": [
      "CotEditor.app"
    ],
    "target": "/Applications/CotEditor.app",
    "type": "app"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/CotEditor.app/Contents/SharedSupport/bin/cot"
      ],
      "target": "$HOMEBREW_PREFIX/bin/cot"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/CotEditor.app/Contents/SharedSupport/bin/cot"
    ],
    "target": "$HOMEBREW_PREFIX/bin/cot",
    "type": "binary"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Scripts/com.coteditor.CotEditor",
            "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.coteditor.coteditor.sfl*",
            "~/Library/Caches/com.apple.helpd/Generated/com.coteditor.CotEditor.help*",
            "~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/com.coteditor.CotEditor.help*",
            "~/Library/Caches/com.apple.helpd/SDMHelpData/Other/Japanese/HelpSDMIndexFile/com.coteditor.CotEditor.help*",
            "~/Library/Caches/com.coteditor.CotEditor",
            "~/Library/Containers/com.coteditor.CotEditor",
            "~/Library/Preferences/com.coteditor.CotEditor.plist"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 紹介

CotEditorは、ソースコード、設定ファイル、マークアップ、日常的なテキストを編集できる、無料のmacOSネイティブなプレーンテキストエディタです。構文ハイライト、書類のアウトライン、行番号、文字情報、分割編集、正規表現による検索と置換、テキストエンコーディングや改行コードの各種ツールを備えています。ワープロのようにリッチテキストのレイアウトを作成するのではなく、テキストそのものを編集します。

### テキストとフォルダの編集
テキストファイルまたはフォルダを開き、構文を選択して、1つまたは複数のビューでテキストを確認できます。7.1のフォルダ検索では、開いているフォルダ内の複数ファイルを検索できます。モードを使って、用途に応じたインデントのスタイルと幅を選択できます。エディタは改行コードとエンコーディングの変換に対応し、文字を調べたり、特定のエンコーディングで表現できないテキストを特定したりするツールも備えています。他のプログラムで使うファイルを変換する場合は、結果を確認してください。エンコーディングや改行コードの変更は、互換性に影響することがあります。

検索と置換は正規表現と、再利用可能な置換定義に対応しています。適切な範囲を指定し、特に重要なファイルを対象とする場合は、すべて置換する前に一致箇所を確認してください。CotEditorはテキストエディタであり、完全なIDE、コンパイラ、デバッガではありません。スクリプトを編集しても、その言語のランタイムや依存関係はインストールされません。

### インストールと互換性
CotEditor7.1.1の動作にはmacOS26 Tahoe以降が必要で、Intel x86-64およびApple Silicon ARM64上でネイティブに動作します。直接ダウンロード版のDMGのサイズは、インストール後のストレージ容量を除き、26,594,816バイトです。DMGからアプリを「アプリケーション」にコピーして開いてください。7.0.9の旧リリースにはmacOS15以降が必要ですが、現在の7.1の要件は変わりません。

直接ダウンロード版は無料で、CotEditorアカウント、サブスクリプション、アクティベーションは必要ありません。別の配布方法としてMac App Storeがあり、通常のApple Account要件が適用されます。直接ダウンロード版はアップデートにSparkleを使用し、App Store版はApp Storeの更新方式に従います。書類へのアクセスはサンドボックス化され、ユーザーが選択したファイルやフォルダに基づきます。保護されたすべてのパスを自由に変更できると想定せず、アプリが対応するファイルを開く手順でアクセスを許可してください。

### スクリプトと自動化
CotEditorは「スクリプト」メニューからのスクリプト実行に対応しており、AppleScriptや実行可能なUNIXスクリプトを利用できます。UNIXスクリプトには、選択したテキストまたは書類の内容を標準入力で渡し、出力をエディタに返すことができます。スクリプトの実行には利用可能なインタープリタが必要で、適切なファイル拡張子と実行権限を設定する必要があります。

Pythonスクリプトを使うには、互換性のあるPythonインタープリタを別途インストールする必要があります。公式ガイドでは/usr/bin/env python3のようなシバンが案内されていますが、CotEditorのPATHはTerminalのシェルのPATHと異なる場合があると注意しています。特定の環境が必要な場合は、インタープリタの絶対パスを指定してください。エディタにはPythonランタイムが同梱されているわけではなく、あらゆるパッケージ環境との互換性が保証されているわけでもありません。信頼できる自動化スクリプトのみを実行してください。スクリプトは書類の内容を変更したり、許可された範囲内で他の操作を実行したりできます。

### 保存と復元
CotEditorは編集作業のためにmacOS方式の自動保存と復元機能を備えていますが、これらは独立したバックアップではありません。保存、テキストの置換、スクリプトの実行によって、実際の書類が変更されることがあります。重要なファイルはバージョン管理または別のバックアップを保管し、変換または書き換えた書類を他の場所で使う前に確認してください。

### ライセンスと費用
CotEditorは無料のオープンソースソフトウェアです。現在のソースコードライセンスはApache License2.0で、画像リソースには別途Creative Commons Attribution-NonCommercial-NoDerivatives4.0ライセンスが適用されます。ソースコードのライセンスは、プロジェクト内のすべての画像を再利用できる包括的な許可ではありません。エディタに有料プランは必要ありません。

公式情報：[CotEditor](https://coteditor.com/)、[ソースコードと要件](https://github.com/coteditor/CotEditor)、[7.1.1リリース](https://github.com/coteditor/CotEditor/releases/tag/7.1.1)、[UNIXスクリプトガイド](https://github.com/coteditor/CotEditor/blob/7.1.1/CotEditor/Resources/CotEditor.help/Contents/Resources/en.lproj/pgs/script_unixscript.html)、[ライセンス](https://github.com/coteditor/CotEditor/blob/7.1.1/LICENSE)。

## システム要件

- macOS 27, 26 向けのビルド · アプリのバージョン: 7.1.3 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
  - <https://github.com/coteditor/CotEditor/releases/download/7.1.3/CotEditor_7.1.3.dmg>
  - SHA-256: `c8cbe6437434516bb23f93efe057fd058ad56ded5523ac113081a8ae68dab184`
- macOS 27, 26 向けのビルド · アプリのバージョン: 7.1.3 · Apple シリコン · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
  - <https://github.com/coteditor/CotEditor/releases/download/7.1.3/CotEditor_7.1.3.dmg>
  - SHA-256: `c8cbe6437434516bb23f93efe057fd058ad56ded5523ac113081a8ae68dab184`
- macOS 15 向けのビルド · アプリのバージョン: 7.0.9 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
  - <https://github.com/coteditor/CotEditor/releases/download/7.0.9/CotEditor_7.0.9.dmg>
  - SHA-256: `b1cd481dd8f1271ffc7478dcc65d7e3a1f17893a3bc1f4afa38a9a93beaf5877`
- macOS 15 向けのビルド · アプリのバージョン: 7.0.9 · Apple シリコン · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
  - <https://github.com/coteditor/CotEditor/releases/download/7.0.9/CotEditor_7.0.9.dmg>
  - SHA-256: `b1cd481dd8f1271ffc7478dcc65d7e3a1f17893a3bc1f4afa38a9a93beaf5877`
- macOS 14 向けのビルド · アプリのバージョン: 5.2.3 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
  - <https://github.com/coteditor/CotEditor/releases/download/5.2.3/CotEditor_5.2.3.dmg>
  - SHA-256: `c01fa87e31d7aafd475f72bb41a340e1e34db27cc8afb73ba2f5e2ad316739a9`
- macOS 14 向けのビルド · アプリのバージョン: 5.2.3 · Apple シリコン · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
  - <https://github.com/coteditor/CotEditor/releases/download/5.2.3/CotEditor_5.2.3.dmg>
  - SHA-256: `c01fa87e31d7aafd475f72bb41a340e1e34db27cc8afb73ba2f5e2ad316739a9`
- macOS 13 向けのビルド · アプリのバージョン: 4.8.7 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
  - <https://github.com/coteditor/CotEditor/releases/download/4.8.7/CotEditor_4.8.7.dmg>
  - SHA-256: `9c439ace99d6b74cf94738d24368ccc39c579902c7062f8e107c596061a58dda`
- macOS 13 向けのビルド · アプリのバージョン: 4.8.7 · Apple シリコン · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
  - <https://github.com/coteditor/CotEditor/releases/download/4.8.7/CotEditor_4.8.7.dmg>
  - SHA-256: `9c439ace99d6b74cf94738d24368ccc39c579902c7062f8e107c596061a58dda`
- macOS 12 向けのビルド · アプリのバージョン: 4.5.9 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
  - <https://github.com/coteditor/CotEditor/releases/download/4.5.9/CotEditor_4.5.9.dmg>
  - SHA-256: `fa3e4a1fdf7edfc109c5588292906d864d430d2e8bd3d84161b1f0a7892163f6`
- macOS 12 向けのビルド · アプリのバージョン: 4.5.9 · Apple シリコン · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
  - <https://github.com/coteditor/CotEditor/releases/download/4.5.9/CotEditor_4.5.9.dmg>
  - SHA-256: `fa3e4a1fdf7edfc109c5588292906d864d430d2e8bd3d84161b1f0a7892163f6`
- macOS 11 向けのビルド · アプリのバージョン: 4.3.6 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
  - <https://github.com/coteditor/CotEditor/releases/download/4.3.6/CotEditor_4.3.6.dmg>
  - SHA-256: `8c1ecf6fd66a9885d428a6303d9d1c5ecb811c1c35c97bdbccdad72359d96ad9`
- macOS 11 向けのビルド · アプリのバージョン: 4.3.6 · Apple シリコン · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
  - <https://github.com/coteditor/CotEditor/releases/download/4.3.6/CotEditor_4.3.6.dmg>
  - SHA-256: `8c1ecf6fd66a9885d428a6303d9d1c5ecb811c1c35c97bdbccdad72359d96ad9`

## 価格について

- 無料でダウンロード · $0.00 (アメリカ合衆国) — Mac App Store: <https://apps.apple.com/us/app/coteditor/id1024640650?mt=12> · <https://apps.apple.com/us/app/coteditor/id1024640650?mt=12> · 2026-11-21 に確認 · これは App Store 版のダウンロード価格で、無料で使えるという意味ではありません。アプリ内課金とサブスクリプションは含まれていません。

## アンインストール

- `brew uninstall --cask coteditor`

通常のアンインストールではアプリ本体だけを削除し、設定とキャッシュは残ります。

### 完全な削除（任意）

- `brew uninstall --zap --cask coteditor`

`--zap` は Homebrew の定義に記載された設定やキャッシュなどのファイルも削除します。ほかのアプリと共有しているデータが含まれる場合があり、削除すると元に戻せません。何も残らないことを保証するものでもありません。残しておきたいデータは先にバックアップしてください。設定とキャッシュを残す場合は、`--zap` を付けないでください。

通常のアンインストールではアプリ本体だけを削除し、設定とキャッシュは残ります。

- ファイルとフォルダ: `~/Library/Application Scripts/com.coteditor.CotEditor` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-22 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.coteditor.coteditor.sfl*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-22 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Caches/com.apple.helpd/Generated/com.coteditor.CotEditor.help*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-22 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/com.coteditor.CotEditor.help*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-22 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Caches/com.apple.helpd/SDMHelpData/Other/Japanese/HelpSDMIndexFile/com.coteditor.CotEditor.help*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-22 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Caches/com.coteditor.CotEditor` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-22 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Containers/com.coteditor.CotEditor` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-22 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Preferences/com.coteditor.CotEditor.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-22 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。

## 最新バージョンのリリースノート

### 7.2.0-rc (2026-11-21)

system requirements: __macOS 26__ and later

##### New Features

- Add the Hungarian localization (thanks to Torma Zsolt!).

##### Improvements

- Improve the performance of undo and redo in large documents.
- Improve the performance of the file browser when many files in the opened folder change at once.
- Update the AppleScript, BBCode, CoffeeScript, Dart, Erlang, Fortran, Git Config, INI, jq, JSON, Markdown, Perl, R, reStructuredText, SVG, Tcl, Verilog, XML, DTD, and YAML syntaxes to improve performance and highlighting accuracy.
- Improve VoiceOver support (thanks to Torma Zsolt!).
- Update tree-sitter-c-sharp to 0.24.0.
- Update tree-sitter-php to 0.25.2.
- [trivial] Display the setting name in the error message when importing a setting fails.
- [trivial] Display errors in the `cot` command as a brief message instead of a Python traceback.
- [beta] Optimize regular-expression-based syntax highlighting in large documents.
- [beta] Update Czech, Polish, and Portuguese localizations.

##### Fixes

- Fix several issues where the editor’s font and indentation were reset, such as when opening documents with the “Detect indent style on document opening” option, splitting the editor, or relaunching the app.
- Fix several issues in the `cot` command, such as where the `--new` option could empty existing files or the `--wait` option stopped waiting when the window was minimized.
- Fix an issue where Keyboard Maestro and other accessibility tools could not find the Text menu.
- Fix an issue in the file browser where the item with the old name remained after changing only the capitalization of its name.
- Fix an issue in the file browser where changes were no longer reflected after renaming or moving the opened folder or its subfolders.
- Fix an issue in the file browser where both a file and a folder with the same name appeared after one replaced the other.
- Fix an issue in the file browser where filtering did not work when the folder contained a subfolder that could not be read.
- Fix an issue in the file browser where the filter results were not updated correctly after files were changed outside the app.
- Fix an issue where importing a settings archive exported from CotEditor 6.2 failed if it included custom syntaxes.
- Fix an issue where the AppleScript `replace` command could fail to replace a single match when the regular expression used lookahead.
- [trivial] Fix an issue in the file browser where filtering with only certain combining marks showed all items.
- [trivial] Fix an issue where importing a settings archive failed if it contained hidden files, such as .DS_Store.
- [trivial] Fix an issue where importing a setting listed it twice if a custom setting with the same name but different capitalization already existed.
- [trivial] Fix an issue where the line and column of the insertion point in the status bar could remain outdated after the document was reloaded with changes made outside the app.

**Full Changelog**: https://github.com/coteditor/CotEditor/compare/7.2.0-beta...7.2.0-rc

## 情報と出典

- <https://opennavo.com/ja/apps/coteditor>
- <https://opennavo.com/ja/apps/coteditor/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/coteditor.rb> · 2026-11-22 に確認
- <https://formulae.brew.sh/cask/coteditor>
- <https://apps.apple.com/us/app/coteditor/id1024640650?mt=12> · 2026-11-21 に確認
