Native Mac app · Free · Version 1.1.3

Code and text, close at hand.

Textley is a native Mac editor for code, text, and Markdown. Open your folders, keep files in sidebar tabs, get syntax coloring for seven languages, and preview Markdown before you save. When you want help, Claude Code or Codex can work in the same files.

Free · Source available · Apple silicon · macOS 14 or later

Trail Log.mdTrail.swiftTrail Map.png
Open Files Folders Field Notes Reference
  1. # Trail Log
  2. ## North Ridge
  3. The trail is open. Check the map before you leave.
  4. - Water at mile 2
  5. - Return before dusk
  6. **Status:** draft

Trail Log

North Ridge

The trail is open. Check the map before you leave.

  • Water at mile 2
  • Return before dusk

Status: draft

  1. import Foundation
  2. struct Trail {
  3. let name: String
  4. var miles: Double
  5. var isOpen = true
  6. // Water is at mile 2.
  7. func summary() -> String {
  8. guard isOpen else { return "Closed today." }
  9. return "Back before dusk."
  10. }
  11. }
  12. let ridge = Trail(name: "North Ridge", miles: 6.4)
Trail Map.png open in an image tab
Ln 10, Col 18Ln 15, Col 481600 × 1200 MarkdownSwift UTF-8LF
A working preview. Open a file in the sidebar, or switch Markdown to Preview. Appearance
7
languages with syntax coloring, Markdown included
27
MCP tools for the agent you connect
3
clients: Claude Code, Codex, and Claude chat
$0
free and source available
editor

Open a folder and get to work.

Textley is quick whether you’re fixing a config file, moving between source files, or checking a draft. The editor is ready as soon as a file opens.

Tabs that keep your place

Open files sit in the sidebar as tabs. Each one keeps its own edits, undo history, selection, and scroll position. Move any tab to its own Mac window to see two files side by side.

Find and replace, with regex

Press ⌘F for match counts, case and whole-word options, and regular expressions with capture groups. One Undo reverses Replace All. An invalid pattern changes nothing.

Several folders at once

Add the folders you work in. The sidebar shows their text, Markdown, and image files, and updates when something changes on disk. Removing a folder from Textley leaves its files alone.

Syntax coloring

Textley picks the language from the filename. You can override it for any tab.

  • Swift
  • JavaScript
  • TypeScript
  • JSON
  • HTML
  • CSS
  • Markdown

Clean up text

Trim trailing spaces, change case, or sort lines. Commands use your selection, or the whole file when nothing is selected.

  • Trim
  • UPPERCASE
  • lowercase
  • Sort lines

Your files stay as they were

Textley keeps a file’s encoding, byte-order mark, line endings, and final newline unless you change them. If another app edits a file while you have unsaved work, Textley asks before overwriting.

  • UTF-8
  • UTF-8 with BOM
  • UTF-16 LE
  • UTF-16 BE
  • LF
  • CRLF

At home on your Mac

Standard menus and shortcuts, light and dark appearance, VoiceOver, and input methods. Line numbers, soft wrap, Go to Line, and a line and column indicator are there when you want them.

  • ⌘F Find
  • ⌥⌘P Preview
  • Line numbers
  • Soft wrap
markdown

Write it. See it.

Switch a Markdown file between the source and a rendered Preview in the same tab. Preview shows your unsaved changes, so you can check a draft before it reaches disk.

  • The usual Markdown. Headings, emphasis, lists, links, tables, block quotes, fenced code, and local images.
  • One shortcut. Press ⌥⌘P, or use the Markdown and Preview tabs in the toolbar. Each file remembers its view.
  • Offline. Preview renders on your Mac and keeps remote images from loading automatically.
  • Images too. Open a local image in its own tab to see it at full size, with its dimensions.
Textley on Mac showing two folders in the sidebar and the rendered Trail Log in the Preview tab
Textley on macOS, with Trail Log.md in Preview
agents

Bring your agent into Textley.

Textley has a local MCP server built in. Connect an agent to the open app and it can find files in your folders, read them, and make edits with revision checks. Access is off until you turn it on, and you choose read only or read and write.

Textley › Settings › Integrations

Read the release checklist, replace the due date with Friday, and save the file.

  • search_filesField Notes › “release checklist” · 1 match
  • read_fileRelease Checklist.md · current revision
  • edit_text“Due: Wednesday” → “Due: Friday”
  • save_fileSaved in place · UTF-8 · LF
  • edit_textMCP is read only. Enable Read & write in Textley Settings → Integrations → MCP to allow changes.

Done. The checklist is due Friday now, and the file is saved.

I found the checklist and read it. Textley is set to Read only, so I haven’t changed anything.

privacy

It all stays on your Mac.

Ordinary files

Documents stay wherever you save them. Textley keeps only editor preferences, recent files, and the folders you opened.

No account

The editor and Markdown preview work offline. There’s nothing to sign in to.

Agent access on your terms

The MCP server listens on this Mac only and needs an access token kept in Keychain. Turn it off or rotate the token at any time. How agent access works

download

Free and source available.

For Apple silicon Macs running macOS 14 or later. No account, and nothing to pay.

The Cult of Protomota Discord icon

Join The Cult of Protomota.

Our Discord community. Ask questions, get Textley support in #textley-support, and get updates on new builds straight from the team.

Join our Discord

One newsletter. All of Protomota.

Product updates and notes from the things we’re building. Join only if you want to.

Join the Protomota newsletter