# Textley > Textley is a free native Mac editor for code, text, and Markdown. It opens the folders you work in, keeps files in sidebar tabs, colors syntax for seven languages, and previews Markdown before you save. A built-in local MCP server lets Claude Code, Codex, and Claude chat find, read, and edit the same files. Key facts: - Platform: Mac only. Apple silicon, macOS 14 or later. - Install: a signed and notarized disk image from https://textley.ai/download/ with signed automatic updates. - Editor: sidebar tabs that each keep their own edits, undo history, selection, and scroll position; several folders open at once; find and replace with regular expressions; trim, change case, and sort lines; line numbers, soft wrap, and Go to Line. - Syntax coloring: Swift, JavaScript, TypeScript, JSON, HTML, CSS, and Markdown. - Markdown: switch a file between source and a rendered Preview in the same tab. Preview renders on the Mac, shows unsaved changes, and keeps remote images from loading automatically. - Files: Textley keeps a file's encoding, byte-order mark, line endings, and final newline unless you change them (UTF-8, UTF-8 with BOM, UTF-16 LE, UTF-16 BE; LF or CRLF). - Agents: a local MCP server with 27 tools for Claude Code, Codex, and Claude chat. Access is off until you turn it on in Settings → Integrations, and you choose Read only or Read & write. - Privacy: documents stay wherever you save them. The editor and Markdown preview work offline. The MCP server listens on the Mac only and needs an access token kept in Keychain. A connected agent may send what it retrieves to its AI provider. ## Pages - [Textley](https://textley.ai/): what the editor does, with a working preview of the window - [Download and install](https://textley.ai/download/): the Mac installer, install steps, and the SHA-256 checksum - [Connect an agent](https://textley.ai/mcp/): MCP setup for Claude Code, Codex, and Claude chat - [Help](https://textley.ai/help/): getting started, common questions, and troubleshooting - [Compare](https://textley.ai/compare/): how Textley differs from Incise and CotEditor, two other free Mac editors - [Privacy](https://textley.ai/privacy/): how the app, agent connections, and the website handle information ## Common questions - What is Textley? Textley is a free native Mac editor for code, text, and Markdown. It opens the folders you work in, keeps files in sidebar tabs, colors syntax for seven languages, and previews Markdown before you save. Claude Code, Codex, or Claude chat can work in the same files through its built-in MCP server. - Is Textley free? Yes. Every feature is free, with no account, no trial, and nothing to unlock. Textley is open source on GitHub and in the public domain (Unlicense). - Which Macs does Textley run on? Textley needs an Apple silicon Mac running macOS 14 or later. It is a Mac app only. - Which AI agents can work with Textley? Claude Code, Codex, and Claude chat. Textley has a local MCP server built in, with 27 tools for finding, reading, editing, and saving files in the folders you add. Access is off until you turn it on, and you choose Read only or Read & write. - Does Textley send my files anywhere? No. Documents stay wherever you save them, the editor and Markdown preview work offline, and there is no account. The MCP server listens on your Mac only and needs an access token kept in Keychain. If you connect an agent, that agent may send what it retrieves to its AI provider. - Which languages get syntax coloring? Swift, JavaScript, TypeScript, JSON, HTML, CSS, and Markdown. Textley picks the language from the filename, and you can override it for any tab. ## Optional - [Textley agent skill](https://textley.ai/mcp-skills/textley-mcp.md): instructions an agent follows to connect to Textley and edit files with revision checks