6 of the Best Code Editor Apps for Your Mac By MTE Staff – Posted on Jun 7, 2018 Jun 7, 2018 in Mac Whether you’re a self-confessed script kiddie or black hat, a hobby programmer or professional coder, you need to have an app that’s up to the task. What’s the best value Mac for coding We think the best value Mac for developers is the 13in MacBook Pro which costs £1,249/$1,299, although we’d recommend adding 16GB RAM at point of sale. The best Mac laptop for most people is the 2018 MacBook Air.It’s fast enough for the things that most people use a computer for—Web browsing, working on documents, even light photo editing—and it has an excellent high-resolution screen, a great trackpad, enough battery life to get most people through a day of work, and a (relatively) reasonable price.
Text editors are notoriously divisive. Everyone has their own preferences, and each of those opinions are valid. What works for one person, task, or project might not work for another. We all find productivity in different places.
That’s why coming up with a list of the “best” Mac text editors is quite hard. There’s a chance we’ll miss your favorite, or include a cut-price freebie that doesn’t do half the tasks you need on a daily basis.
But that’s OK, because you can tell us all about it in the comments at the end.
Free Text Editors
The following is a list of completely free text editors, with no paid upgrades or extra purchases. You might think that free means “lacking in features,” but that’s not the case with these.
Atom
Atom tries to be a bit of everything, and for the most part it succeeds. It’s a project from hosting and version control maestro GitHubNot Just for Coders: 9 Ways To Use GitHub For Creative WorkNot Just for Coders: 9 Ways To Use GitHub For Creative WorkGitHub is known for the great features it can offer programmers, but it's not only for them. There are plenty of other creative uses for GitHub. Here are nine you can explore.Read More, and it’s completely open source and free to use. Don’t let the price tag put you off; Atom has some serious potential under the hood.
Describing itself as “a hackable editor for the 21st century,” Atom is a great starting point for beginners. It’s a basic text editor out of the box, with optional packages that add more complex functionality. These include a full integrated development environment (IDE) known as Atom-IDE.
There’s support for Git and GitHub, with no need for additional packages. When you want to add features and language support, there’s a package manager which makes this easy. You can also customize the interface to your liking, another important aspect of any such serious tool.
One standout package is Teletype for Atom, a real-time collaboration feature that allows you to work on projects with others. Atom is also cross-platform, so you can transfer operating systems while maintaining familiarity with your favorite editor.
Download:Atom
TextWrangler
TextWrangler is one of the most user-friendly examples of a text editor, with a price tag to match. Now hosted on the Mac App Store, TextWrangler offers an old-school feel, rock-solid performance, and the option of graduating to a more powerful yet familiar tool (BBEdit, below) if you feel the need.
It’s another great entry point for learning to code or use text editors in general, whether you’re writing simple AppleScript projects, editing CSS, or building a website in HTML. It’s also a good choice if macOS’ built-in editor TextEditMake TextEdit More Powerful With These 9 Hidden FeaturesMake TextEdit More Powerful With These 9 Hidden FeaturesNative Mac editor TextEdit has a lot of powerful features under the hood, so here's how to find them.Read More comes up short when editing plain text.
The app isn’t just a stripped-down freebie though. It offers a wealth of powerful tools like grep pattern matching, multi-file search and replace, varied themes, and syntax coloring options. You can also work on files remotely via FTP and SFTP.
It lacks some of the fancier features seen in the premium packages, notably a preview pane to view changes in real time. It feels and behaves like a native macOS app, which makes it particularly user-friendly compared to some of the other examples on this list.
Download:TextWrangler
Vim
Now for something completely different: Vim is a command line-based text editorVim Is Awesome: Make It Better With These 5 CustomizationsVim Is Awesome: Make It Better With These 5 CustomizationsText editors might not be sexy, but they are important. One of the most powerful Linux text editors is VIM (short for, Vi Improved), and here we show you how to extend its functionality further.Read More that comes with macOS. Simply open Terminal, type vim, and hit Enter. You’re now using one of the most respected text editors of all time, but it’s not without a steep learning curve.
Fortunately, Vim comes with a stack of documentation to help you learn how to use it. This includes quick reference and help documents, plus a 30-minute tutorial to get you up and running. Be warned: even figuring out how to access the tutorials is a lesson for those unfamiliar with the command line.
Like other powerful-yet-complex applications, you can accomplish a lot with Vim if you know how to use it properly. This knowledge won’t come overnight, but in a few years you’ll likely be able to accomplish more than in a comparable GUI-based application.
Despite Vim being built into the OS, you might also be interested in MacVim. This is a slightly more user-friendly port, with full menu bar controls for functions and a more up-to-date version of Vim than that maintained by Apple. You can open, save, and access recent documents like you would in other GUI-based editors, which makes it slightly less intimidating for newbies.
Download:MacVim
GNU Emacs
Another great free option with an off-putting learning curve, GNU Emacs is the “free as in libre” version of the Emacs text editor. First released in 1976, Emacs is one of the longest-running open source projects, and it still receives updates today.
Emacs is known for its unique methods of getting work done. It relies on a programming language known as Emacs-Lisp, a fork of the Lisp language that was originally specified in 1958. You’ll need to use Emacs-Lisp for even the most basic functions of editing, but it’s also used to expand the editor beyond its humble text-based roots.
These expansions include an email client, news reader, file manager, and games like Snake and Tetris. Under the hood, though, it’s still a basic text editor with features like context-aware editing and support for syntax coloring. There’s full Unicode support and a packaging system for adding new features.
Like Vim, Emacs requires a commitment to learn to use it long before you understand why so many people swear by it. While GNU Emacs is one fork, XEmacs is another that’s worth investigating if you like the sound of this command line editor.
Download:GNU Emacs | XEmacs
Visual Studio Code
Like Atom, Visual Studio Code is a relative newcomer in the text editing space. Not to be confused with Visual Studio, Microsoft’s full-power IDE with a price tag to match, Visual Studio Code is a lightweight text and script editor built around the concept of expanding support with plugins.
There are plugins for writing and running shell scripts in Code, for penning markdown documents, and even writing AppleScript. That’s right; you can use Microsoft’s text editor to create scripts that will only work on Apple machines.
The Visual Studio Code marketplace turns the app into a Swiss Army knife of code, text, and script editing. A reliance on plugins means the app is lightweight and responsive from the start, as you’re not lugging around features and functionality you’re never going to use.
Which plugins are worth getting? Our roundup of Visual Studio Code plugins will answer that for you.
Code uses an attractive dark theme, and it doesn’t feel like a lazy port of the Windows version either. It’s worth a shot, particularly if you don’t get on with the likes of Vim and Emacs. Check out our top tips for boosting productivity in Visual Studio Code10 Essential Productivity Tips for Visual Studio Code10 Essential Productivity Tips for Visual Studio CodeVisual Studio Code blows other programming text editors out of the water. It's free, open source, lightning fast, and packed with productivity features.Read More to learn more.
Download:Visual Studio Code
Best Mac For Coding 2018-2019
Premium Text Editors
If you’re looking for a text editor to use at work, or you’re at a stage where your tools can have a serious impact on your productivity and paycheck, you should consider one of these. Luckily they all come with a decent free evaluation period, so you can try before you buy.
TextMate
Powerful, simple, and lightweight, TextMate is the preferred choice of many Mac professionals, and it’s not hard to see why. This editor has support for a range of languages and syntax, tabs, and a language-specific approach that can save you time and effort.
TextMate incorporates snippets, macros, and scoping features that vastly speed up workflow without stepping into full IDE territory. The developer aimed to bring “Apple’s approach to operating systems into the world of text editors” and that’s a fairly good summation of why so many love TextMate.
Despite development stalling from time to time, TextMate maintains a die-hard following of professional users. This has given way to an extensive database of documentation and screencasts, which should help new users get up to speed.
It’s a simple tool to start using, with a clean UI and fair price point. You can download TextMate free for evaluation purposes, though the app doesn’t seem to bother you for registration credentials or a serial number.
Download:TextMate ($60)
Sublime Text 3
Sublime Text is a self-described “sophisticated text editor” that markets itself as a code, markup, and prose editor. It’s probably overkill for the simplest text editing tasks though, considering it costs $80 for a license.
For those who need a powerful tool, Sublime Text delivers a wealth of features and functions11 Sublime Text Tips for Productivity and a Faster Workflow11 Sublime Text Tips for Productivity and a Faster WorkflowSublime Text is a versatile text editor and a gold standard for many programmers. Our tips focus on efficient coding, but general users will appreciate the keyboard shortcuts.Read More. Some of these are hallmarks of the app, like Goto Anything which lets you open a file and quickly navigate to the relevant line in record speed.
The app creates a project-wide index of all classes used for references, and supports multiple selections so you can change more than one element at a time. To cut down on the time you spend in menus, developers devised the Command Palette for rarely-used functions, and fast project switching with no save prompts.
There’s a vast amount of customizability at your fingertips. Many favor the app for its smooth performance under load and attractive UI. It’s also cross-platform, and you only need a single license to use the app across all your machines and platforms.
Download:Sublime Text 3 ($80)
BBEdit
BBEdit wouldn’t have earned a place on this list were it not for a large userbase that’ll defend it to the death. And that’s just fine, since BBEdit is a mature and powerful text editor that prioritizes performance and reliability above all else.
Apple Mac Pro 2018
It’s the quintessential Mac text editor, from the developers who bought you TextWrangler. Despite lacking the freshness of Atom or the crisp UI seen in Sublime Text, BBEdit is built from the ground up for macOS, optimized for macOS, with a macOS approach to text editing.
That means keyboard shortcuts that make sense to the average Mac user, and an approach to text editing that follows many of Apple’s design sensibilities. It also bakes in support for Mac technologies like Bonjour. This removes some barriers for entry seen in other apps, but results in a slightly more cumbersome UI than its rivals.
BBEdit is perfect for HTML and text editing, with support for remote editing via FTP/SFTP. The app is highly customizable, from syntax coloring to menu options, user-defined functions, keyboard shortcuts, and macOS Terminal support right in the app.
Download:BBEdit ($50)
Espresso
Not everyone uses their text editor for building websites, but many who do gravitate toward Espresso. It’s an editor that’s aimed squarely at web developers, and it’s got powerful features to make creating websites a more productive experienceCreating Web Interfaces: Where to StartCreating Web Interfaces: Where to StartWe'll show you how web interfaces break down, then point out the key concepts, tools, and building blocks needed to make yourself a 21st century web designer.Read More.
The big one is a live preview browser, so you can see your changes in real time. The app incorporates Xray layout tools, and CSSEdit visual styling for colors, gradients, shadows, and more. It supports HTML, CSS, LESS, JavaScript, CoffeeScript, Apache, and XML out of the box. More languages are available through plugins.
There’s a laundry list of features that keep users coming back, like customizable snippets and UI, a clean modern design, custom spacing and indentation to keep your code clean, support for tabs, templates and custom templates, powerful find and replace, and multi-line editing for making changes in multiple locations at once.
It’s not cheap at $79, but you can download a trial and see how it works before you commit. It’s a great tool for web developers, but lacking in other areas when it comes to scripting and coding.
Download:Espresso ($79)
So Many Text Editors
There are so many text editors available that we couldn’t possibly include them all, but we thought these were worth a mention if you’re still on the hunt:
- Coda 2 ($80): Another web development-focused text editor like Espresso; worth a look if you’re in need of such a tool.
- PhpStorm (from $90): A PHP-focused IDE with a $90 yearly subscription model; ideal for PHP developers but overkill for many other applications.
- Smultron ($10): A better-than-free text editor with a tidy interface that won’t break the bank.
Remember: The text editor with the most tools isn’t necessarily the best. The best text editor is the one that suits you and meets your expectations. It’s the editor that allows you to get more done. It’s the editor that falls away into the background, allowing you to concentrate on your work rather than the software you use to get your job done.
But you’ve probably got your own favorites in mind already (if you don’t prefer an IDEText Editors vs. IDEs: Which One Is Better For Programmers?Text Editors vs. IDEs: Which One Is Better For Programmers?Choosing between an advanced IDE and a simpler text editor can be hard. We offer some insight to help you make that decision.Read More). We’d love to hear which text editor you get on with the best, and why it works for you. Please add your own suggestions in the comments below!
Explore more about: HTML, Mac, Text Editor, Visual Studio Code.
Please note that TextWrangler is NOT compatible with High Sierra, macOS 10.13. Refer to https://www.barebones.com/support/textwrangler/ for OS version details.
This article has been updated as of August 2019 to ensure that all the HTML editors listed are still available for free download. Any new information on latest versions has been added to this list.
During the original testing process, over 100 HTML editors for Windows were evaluated against more than 40 different criteria relevant to both professional and beginning web designers and web developers, as well as small business owners. From that testing, ten HTML editors that stood above the rest were selected. Best of all, all of these editors also happen to be free!
NotePad ++
What We Like
Small download and program size.
Loads fast, and runs light.
Auto-completion for words and functions.
Plugin options to extend functionality.
What We Don't Like
No Mac version available.
May be less useful for languages like Java.
Notepad++ is a favorite free note taking app and code editor. It is a more robust version of the Notepad software that you would find available in Windows by default. That being the case, this is a Windows-only option. It includes things like line number, color coding, hints, and other helpful tools that the standard Notepad application does not have. These additions make Notepad++ an ideal choice for web designers and front end developers.
Komodo Edit
What We Like
Extensible through plugins.
Customizable appearance.
Available for Windows, Mac, and Linux.
What We Don't Like
No WYSIWYG editor.
Not the best editor for beginners.
There are two versions of Komodo available, Komodo Edit and Komodo IDE.
is open source and free to download. It is a trimmed down counterpart to IDE.
Komodo Edit includes a lot of great features for HTML and CSS development. Additionally, you can get extensions to add language support or other helpful features, like special characters.
Komodo doesn't outshine as the best HTML editor, but it's great for for the price, especially if you build in XML where it truly excels. I use Komodo Edit every day for my work in XML, and I use it a lot for basic HTML editing as well. This is one editor I'd be lost without.
Eclipse
What We Like
Plugin design makes adding new languages simple.
Open source with large community makes problem solving easier.
Runs on multiple platforms such as Windows, Mac, and Linux
What We Don't Like
A large program that's not as light as other editors.
Consumes considerable system resources, especially on large projects.
Eclipse is a complex development environment that is perfect for people who do a lot of coding on various platforms and with different languages. It is structured as plug-ins, so if you need to edit something you just find the appropriate plug-in and go to work.
If you are creating complex web applications, Eclipse has a lot of features to help make your application easier to build. There are Java, JavaScript, and PHP plugins, as well as a plugin for mobile developers.
Aptana Studio 3
What We Like
Good for JavaScript.
Multiplatform support (Windows, Mac, Linux).
Plugins expand supported languages.
What We Don't Like
Lack of updates and announcements since 2014.
Bulkier and sometimes slower than some other editors.
Aptana Studio 3 offers an interesting take on webpage development. Instead of focusing on HTML, Aptana focuses on JavaScript and other elements that allow you to create rich internet applications. That may not make it the best fit for simple web design needs, but if you are looking more in the way of web application development, the tools offered in Aptana may be a great fit.
One concern about Aptana is the lack of updates that the company has done over the past few years. Their website, as well as their Facebook and Twitter pages, announce the release of version 3.6.0 on July 31, 2014, but there have been no announcements since that time.
While the software itself tested great during initial research (and it was originally placed 2nd in this list), this lack of current updates must be taken into consideration.
NetBeans
What We Like
Version control functionality.
Customizable appearance.
Specialized for Java.
What We Don't Like
Takes some time to learn.
Consumes a lot of system resources while running.
Can be slow to execute commands.
NetBeans IDE is a Java IDE that can help you build robust web applications.
Like most IDEs, it has a steep learning curve because it doesn't often work in the same way that web editors work. Once you get used to it you’ll find it very useful, however.
The version control feature included in the IDE is especially useful for people working in large development environments, as is the developer collaboration features. If you write Java and webpages this is a great tool.
Microsoft Visual Studio Community
What We Like
Well supported with updates and the addition of new features.
Wide range of programming languages supported.
Nice design that is beginner-friendly.
What We Don't Like
Premium features come with high price tag.
Heavy program that consumes significant memory and processing power.
Bit of a learning curve for new users.
Microsoft Visual Studio Community is a visual IDE to help web developers and other programmers get started creating applications for the web, mobile devices and the desktop. Previously, you may have used Visual Studio Express, but this is the latest version of the software. They offer a free download, as well as paid versions (that include free trials) for Professional and Enterprise users.
BlueGriffon
What We Like
Multiplatform support (Windows, Mac, Linux).
WYSIWYG editor with previews.
Good for beginners
What We Don't Like
Can suffer lag during use.
Lots of options may bewilder new users.
BlueGriffon is the latest in the series of webpage editors that started with Nvu, progressed to Kompozer and now culminates in BlueGriffon. It is powered by Gecko, the rending engine of Firefox, so it does a great job of showing how work would be rendered in that standards-compliant browser.
BlueGriffon is available for Windows, Macintosh and Linux and in a variety of languages.
This is the only true WYSIWYG editor that made this list, and as such it will be more appealing for many beginners and small business owners who want a more visual way to work as opposed to a purely code-focused interface.
Bluefish
What We Like
A fast and lightweight program.
Multiplatform support (Windows, Mac, Linux).
Best Mac For App Development 2018
What We Don't Like
Primarily a code editor without a WYSIWYG interface.
Lacks an easy FTP upload feature.
Bluefish is a full-featured HTML editor that runs on a variety of platforms, including Linux, MacOS-X, Windows, and more.
The latest release (which is 2.2.10 or 2.2.10-2 for High Sierra) fixed some of the bugs found in previous versions.
Noteworthy features that have been in place since the 2.0 version are code-sensitive spell check, auto complete of many different languages (HTML, PHP, CSS, etc.), snippets, project management and autosave.
Bluefish is primarily a code editor, not specifically a web editor. This means that it has a lot of flexibility for web developers writing in more than just HTML, however, if you’re a designer by nature and you want more of a web-focused or a WYSIWYG interface, Bluefish may not be for you.
GNU Emacs Profile
What We Like
Included with most Linux systems.
Powerful with plenty of features.
What We Don't Like
More complicated than other editors.
Not the best choice for beginners.
GNU Emacs is found on most Linux systems and makes it easy for you to edit a page even if you don't have your standard software.
Emacs is a lot more complicated some other editors, and so offers more features, but I find it harder to use.
Feature highlights: XML support, scripting support, advanced CSS support and a built-in validator, as well as color coded HTML editing.
This editor, whose latest version is 26.1 which was released in May 2018, can be intimidating to anyone who isn't comfortable writing plain HTML in a text editor, but if you are and your host offers Emacs, it is a very powerful tool.