XEdit app icon

Fast. Native.
Yours.

A lightweight code editor built entirely for macOS. Open any project, in any language, and work at native speed.

DownloadView on GitHub ›
EditorView.swift
 1import SwiftUI
 2
 3struct EditorView: View {
 4    @State private var text = ""
 5
 6    var body: some View {
 7        TextEditor(text: $text)
 8            .font(.system(.body, design: .monospaced))
 9            .focusable()
10    }
11}

Trusted by developers at

XEdit isn't meant to replace Xcode, but to supplement it for projects not intended for Apple platforms. We believe every type of developer deserves a great experience and excellent performance.

Built for the way you work.

Sensible defaults that stay out of your way, and serious power the moment you reach for it.

macOS Native

Harness the full power of your Mac, only possible with a completely native architecture built in Swift.

Lightweight Yet Powerful

Designed to be lean, with limitless potential. Launches instantly and stays out of your way.

Open & Community-Driven

Built for developers, by developers. Want a feature or found a bug? Open an issue or send a PR.

Extensible & Customizable

We aren't going to guess. Make XEdit your own, tailored to exactly the way you work.

Familiar & Intuitive

An interface designed to feel familiar from the very first launch, for ease-of-use and productivity.

Better Tools for the Job

Stay connected to the code you are writing with tools that keep you on track.

Switch modes. Stay in flow.

Two built-in modes that go beyond editing, powered by X Agent.

Design New

Create and improve UI with AI. Generate SwiftUI components, live previews, and full design systems.

struct BalanceCard: View {
  var body: some View {
    VStack(alignment: .leading) { … }
  }
}
Balance$8,420.00
Refactor New

Improve code quality at scale. Refactor, simplify, and modernize your codebase safely.

- func load(_ id: Int,
-           cb: (Data?) -> Void)
+ func load(_ id: Int)
+     async throws -> Data
+ try await fetch(id)

AI Assistant Beta

Meet X Agent.
Your coding partner.

From quick answers to complex refactors, X Agent has your back. It reads your code, understands your project, and helps you move forward.

  • Full project context
  • Multi-file understanding
  • Natural conversations
  • Actionable, safe changes
Learn more about X Agent

Native speed. Every time.

Built with Swift and optimized for macOS. XEdit launches in a blink and handles large codebases with ease.

~120ms
Startup time
60fps
Smooth scrolling
10k+
Files handled
<50MB
Memory usage

Your code stays yours.

No telemetry. No tracking. Your code never leaves your machine unless you choose to share it.

On-device by default

AI requests are encrypted in transit and never stored on our servers.

No telemetry

We don't collect usage data, and we never sell what isn't ours to sell.

Open & transparent

Open source and built for trust. Read the code, audit it, and make it yours.

Works with the tools you love.

XEdit fits into the workflow you already have, no reconfiguring required.

GitGit
GitHubGitHub
DockerDocker
ESLintESLint
PrettierPrettier
SwiftSwift
npmnpm
HomebrewHomebrew

What developers are saying.

XEdit feels like a native app that actually understands me. The AI is genuinely context-aware.
Mara KessleriOS Developer
Finally, an editor that is fast, beautiful, and respects my privacy. It just gets out of the way.
Devon AlcarazSoftware Engineer
The refactor mode is a real time-saver. I trust the suggestions because it sees the whole diff.
Priya NandakumarStaff Engineer

Ready to ship better code?

Join the developers building faster on a native macOS editor.

macOS 12.0+ · Free and open source (MIT)