Submit app

Best code editors & IDEs for Mac

Native and cross-platform Mac code editors, text editors and full IDEs for software development. Compare 7 hand-reviewed Mac apps in code editors & IDEs. 3 are completely free, 3 are free to start, 1 is a one-time purchase and 2 are open source. Zed leads by community votes, followed by Sublime Text and Xcode.

Read our full code editors & IDEs guide

All 7 code editors & IDEs for Mac

How we picked: every app on this page is reviewed by a person and assigned to code editors & IDEs on Mac App Index. Apps are ranked by community upvotes; price and distribution channel never buy a higher spot. How we rank apps

  1. 1
    Zed icon

    Zed

    Code editor built for speed and collaboration

    83Free + in-appDeveloper tools
    • Direct download
    • Open source
  2. 2
    Sublime Text icon

    Sublime Text

    Fast text editor for code and prose

    54$99Developer tools
    • Direct download
  3. 3
    Xcode icon

    Xcode

    Apple's IDE for every Apple platform

    43FreeDeveloper tools
    • App Store & direct
    • macOS 26.6+
  4. 4
    BBEdit icon

    BBEdit

    Professional text and code editor

    25Free + in-appDeveloper tools
    • App Store & direct
    • macOS 14.0+
  5. 5
    CotEditor icon

    CotEditor

    Plain-text editor built for macOS

    14FreeDeveloper tools
    • App Store & direct
    • Open source
    • macOS 26.0+
  6. 6
    Visual Studio Code icon

    Visual Studio Code

    Free code editor from Microsoft

    14FreeDeveloper tools
    • Direct download
  7. 7
    Cursor icon
    New

    Cursor

    AI-first code editor built on VS Code

    0Free / $20/moDeveloper tools
    • Direct download
    • macOS 12.0+

Specs and pricing comparison

AppPriceDistributionOpen sourceMin macOSSize
ZedFree + in-appDirect downloadYesNot listedNot listed
Sublime Text$99Direct downloadNoNot listedNot listed
XcodeFreeApp Store & directNomacOS 26.6+3083 MB
BBEditFree + in-appApp Store & directNomacOS 14.0+24 MB
CotEditorFreeApp Store & directYesmacOS 26.0+19 MB
Visual Studio CodeFreeDirect downloadNoNot listedNot listed
CursorFree / $20/moDirect downloadNomacOS 12.0+Not listed

Frequently asked questions

What are the best code editors & IDEs for Mac?
Zed, Sublime Text and Xcode are the top-ranked picks among code editors & IDEs on Mac App Index right now, based on community upvotes and verified Mac specs.
Are there free code editors & IDEs for Mac?
Yes. 3 apps are completely free and 3 are free to download with optional paid upgrades.
Are there open-source code editors & IDEs for Mac?
Yes. 2 apps in code editors & IDEs on Mac App Index are open source, so you can inspect, build or fork its source code.
How many code editors & IDEs for Mac are listed on Mac App Index?
Mac App Index lists 7 apps in code editors & IDEs: 3 completely free, 3 free to start, 1 one-time paid and 0 subscription.

More Mac app comparisons