Best Free Programmers Text Editor For Mac

Without any doubt, if you are looking for a free text editor, TextMate is the best text editor for Mac. You may find many free text editors for Windows but there are very few free applications which are available for Mac and TextMate is one of them. Here are the best free and paid macOS text editors for plain text, coding, and everything in between. And everything in between. Need a new text editor for your Mac? Here are the best free and paid macOS text editors for plain text, coding, and everything in between. Which One Is Better For Programmers? Text Editors vs. IDEs: Which One.

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. If you choose to do your programming on a Mac rather than a PC, below is a list of the best code editing apps that could be mustered.

Test them out, see which one suits you, and dive on into the sublimely mathematical, perfectly logical world of Mac-based coding.

1. Vim

The number one choice for probably the majority of programmers these days, Vim is the most complete code-editing tool around. It uses much less memory than its rivals, it’s open source, and can be used remotely via SSH.

Related: 3 Useful VIM Editor Tips and Tricks for Advanced Users

That’s not all. Vim works on all Unix platforms (so Windows and Linux as well), and is brimming with keyboard shortcuts that make writing long chunks of code a cinch. It may seem like a lot to take in, but all the shortcuts are designed to be memorable (so d for ‘delete,’ obviously), making Vim rather accessible.

With its vast community churning out a constant procession of plug-ins and add-ons, Vim is a vast, flexible tool that can be used for many of the most popular coding environments (C, Python, you name it).

It’s number one for a reason.

2. Atom

Atom is a fantastic code editor for users of all skill levels. Whether you want to tweak source code or play around with packages, you can do so here. It has a great collaboration tool in the form of Teletype, which lets you seamlessly work on code with fellow users.

You can work in the universal hosting service GitHub from directly within Atom too, doing every function from creating new branches to pushing and pulling code requests. Beyond that, Atom is filled with quality-of-life features like autocomplete, a robust search tool and file browser, and a powerful package manager.

Notepad For Mac

On the downside, Atom is fairly memory-intensive, particularly when handling large files, so be sure that your computer is up to the task RAM-wise before jumping in.

3. Sublime Text

One of the best and simplest coding tools ever available to Mac users. Sublime Text is a notepad-like application that lets you write your code, highlight certain parts using its various syntax detecting algorithms and so on. The app has a number of features including Goto Anything, Multiple Selections, Command Palette, etc. If you think the other apps or things are distracting you while doing your coding work, then you can enable the distraction-free writing mode. It disables everything except for the area where you write your code.

Sublime Text is not free, though you can download the free trial version and it never seem to expires. Nevertheless, if you use and love Sublime Text, it is always good to purchase the license and support the development.

The app is available for Mac, Windows and Linux.

4. BBEdit

This is yet another nice tool for coding programs. BBEdit says it does not suck, and that probably means something good for the coders. The app has a nice interface identical to Sublime Text. The app seems to be inclined towards those who do a lot of HTML coding, and maybe that is why there are a number of options to manipulate webpages in the app. It contains FTP and SFTP support, so there is no issue with uploading your files to your server as soon as you are done writing them. Sounds cool, huh?

5. TextMate

Do you have a load of coding work that needs to be done in a short span of time? TextMate is available to help you out. The app makes coding much easier on your Mac than ever with a number of features it comes preloaded with. Syntax highlighting, Multiple Tabs, and Search and Replace are some of the salient features of the app. If you missed closing a bracket, that happens most of the time you are coding; it completes it automatically for you. So the next time you write a program, there is much less of a chance that it will have errors.

6. Brackets

What is it that you use most often while writing code? Yes, you are right. It is brackets. Brackets by Adobe brings a powerful tool for you to code the next big thing. The app is actually built for HTML coders who build hundreds of webpages a day, or maybe even more. It highlights the syntax making it easier for you to find your code blocks and errors and comes with a Live HTML Development that shows the output of your code without having you save or refresh the page. That is really something cool about this app, isn’t it?

7. Textastic

Html text editor for mac

Textastic for Mac is a simple, yet faster, coding tool that delivers what it promises. With features like Auto Completion, it auto-completes some of your code that you would otherwise have to do yourself, saving you some time that you could use to do something else. While most of the other features remain the same as the apps above, it includes a new feature called iCloud syncing. What it does is let you sync your code across your various Mac machines so that you can pick up where you left off easily.

Conclusion

Coding has become a part of many people’s lives these days, and the apps above should help to get it done more quickly and more efficiently.

Best Free Programmers Text Editor For Mac

This article was first published in March 2014 and was updated in June 2019.

Image credit: Closeup coding on screen by oatawa/Shutterstock

Whether you’re a developer or a writer, a good text editor is a must-have on any computer, in any operating system. The humble text editor is great for managing code, writing down quick notes, or just as a distraction-free writing tool. This week, we’re looking at five of the best, based on your nominations.

Earlier this week we asked you for your favorite text editors, and while you suggested far more than we can highlight here, there were a few that earned more nominations than the others. Here are the tools you liked the best:

Advertisement

Sublime Text

Advertisement

Cross-platform and feature packed, Sublime Text was a crowd favorite in the call for contenders thread, partially because of its amazing feature-set. Plug-ins and add-ons are available for specific programming languages and uses in Sublime Text, the app features extremely powerful search and go-to features, tons of keyboard commands to help you never have to take your hands off the keyboard while you use it, a distraction-free mode that lets you focus right on your work—whatever that work may happen to be, and much much more. Sublime Text has a tabbed interface so you can have multiple documents open at the same time, and a 10,000ft view on the right so you can see where in your document you are at any time. You can select multiple rows to make simultaneous changes, customize shortcuts to suit your own needs, and even chain shortcuts together to perform complex—but fast—operations. It’s remarkably powerful.

Sublime Text is available for Windows, OS X, and Linux. It’s distributed as evaluation software (meaning it’s free to try, but there’s no time limit on how long you can use it for free) and a full license will cost you $70. A full license is per user, so you can use it on as many computers as you like once you have one. In the call for contenders thread, those of you who nominated Sublime praised its impressive feature-set, developer-friendly plug-ins and API, side-by-side file comparisons, and much more. Read all about it in the nomination thread here and here.

Advertisement

Notepad++

Advertisement

Notepad++ has been around for a long time, and many users have only ever used Notepad++ when they’re ready to upgrade from Notepad or Wordpad. It’s stil under development though, and combines the simple interface of Notepad or Wordpad with advanced features that will make writers and developers happy. Some of them include a customizable interface that you can make as minimal or toolbar-rich as you choose, a document map so you can see where you are in your work at any time, a tabbed interface so you can work in multiple documents, auto-completion and text shortening, macro recording so you can customize shortcuts, and more. You also get customizable syntax highlighting, text folding and collapsable parts of the document (to make things easier to read,) and options you can use to launch the app under certain parameters, just to make your work easier.

Mac Text Editor For Programmers

Notepad++ is free (free as in free speech and free beer) and available for Windows only. You can grab it as an installable app, or a portable app to run from a flash drive or cloud storage service like Dropbox. If you’re not sure exactly what you’re looking for in a text editor, it’s a good place to start, especially because it’s free. You can donate to the project though, and if you enjoy it, you should. The code is available too, so if you’d rather contribute, you can do that as well. Those of you who nominated it praised its simplicity, wealth of plug-ins for just about every type of user, and of course, its price tag. Read all about it in the nomination thread here.

Advertisement

Vim (and Its Iterations)

Free Text Editor For Mac

Advertisement

Oh boy, Vim. Designed to bring the simplicity of Vi to every platform and person who needed a configurable but not-too-heavy text editor, Vim is one banner of the Holy Text Editor Grail Wars to march under. It’s not without good reason—Vim is cross-platform, free, and while it’s aimed squarely at programmers who want an interface they can tweak to their liking and really get some work done in, you don’t have to be a programmer to get the most use out of it. Instead, you just have to take the time to configure it so it works the way you prefer. It won’t hold your hand (although its extensive help is useful for beginners), but once you remember its keyboard shortcuts and commands, download tons of user scripts to apply to it to streamline your work, and learn your way around, it quickly becomes an essential tool. It supports dozens of languages, keeps a history of your actions so you can easily repeat or undo them, supports macro recording, automatically recognizes file types, and lives—once installed—at your command line.

Vim—and most of its iterations, which include editors that add a GUI to the app so you can launch it without resorting to the command line—are free (GPL licensed). It’s available for any operating system with a command line of just about any type, and it’s charityware, meaning instead of paying for the app, the team behind it suggests you donate to children in Uganda who could use the support via the ICCF. Those of you who praised Vim noted that it takes some commitment to learn, but once you’re familiar with it, the sky’s the limit. Read more in the nomination thread here.

Advertisement

Text Editor For Mac Os X

Atom

Advertisement

Calling itself a text editor “for the 21st century,” Atom earned a lot of praise in the nominations round for being a text editor designed for the needs of today’s developers. It’s built by the team at GitHub, and incorporates some of the lessons the team there learned by managing so much code on a regular basis. It’s flexible, customizable, themeable, and even though it’s relatively new, it already has a large following and tons of plugins, thanks to its open API. It operates like a native application, and even the application package is customizable so you only get the modules you need. It packs a tabbed interface, multi-paned layout, easy file browser, and easy learning curve so you can get up and running with it quickly. There’s also solid documentation to help you get started if you need it. Only downside though: Atom is currently in private beta, and you’ll have to sign up for an invite and cross your fingers if you want to give it a try.

Editor

Atom is currently OS X only (10.8+), although Windows and Linux versions are on the roadmap. It’s also free to use while it’s in beta, but when it’s finished and released, the team behind it says it’ll be “competitively priced.” Those of you who nominated it praised its customizability and available plugins, and pointed to the tool’s potential to become one of the best and most powerful text editors we’ve seen in many many years. You can read more about it in the nominations thread here.

Advertisement

Update 07/2015: Atom has released its first stable, 1.0 version, along with fully supported versions for Windows and Linux! You can check out the details here.

Best Free Programming Text Editor For Mac

Emacs (and Its Iterations)

Advertisement

If you’ve used an operating system with a command line interface, you’ve had Emacs available to you. It’s been around for decades (since Richard Stallman and Guy Steele wrote it in 1976), and its the other major text editor to stand behind in the Holy Text Editor Grail Wars. It’s not the easiest tool, but it’s definitely one of the most powerful. It has a steep learning curve, but it’s always there, ready for use. It’s had a long and storied history, but the version that most people wind up using is GNU Emacs, linked above. It’s richly featured, too—Emacs can handle almost any type of text that you throw at it, handle simple documents or complex code, or be customized with startup scripts that add features or tweak the interface and shortcuts to match your project or preference. Similarly, Emacs supports macro recording, tons of shortcuts (that you’ll have to learn to get really familiar with it), and has a ton of modules created by third parties to leverage the app for completely non-programming purposes, like project planning, calendaring, news reading, and word processing. When we say it’s powerful, we’re not kidding. In large part, its power comes from the fact that anyone can play with it and mold it into something new and useful for everyone.

Emacs is completely cross platform, with versions and derivatives available for Windows, OS X, Linux, and just about every other operating system on the planet. It’s free, as in both free speech and free beer, and comes with detailed help, tutorials, and guides to help you get started using it if you’re new to using Emacs. Those of you who praised it in the call for contenders thread highlighted its flexibility and power, complete customizability, and the fact that you can play Tetris in it, which is admittedly a nice bonus. You can read all about it in its nominations thread here.

Advertisement

Now that you’ve seen the top five, it’s time to put them to an all-out vote to determine the Lifehacker community favorite.

Advertisement

Honorable mentions this week go out to TextWrangler (OS X) and UltraEdit (Windows/OS X/Linux). TextWrangler, as BBEdit’s lighter brother, works equally well as a writing tool as it does a development tool, although it’s designed to be the latter. It’s a great general-purpose text editor with an auto-saving cache that keeps all of your data and documents intact even if you don’t save them to disk between launching the application and closing it. UltraEdit on the other hand, is another crowd-favorite and sports a customizable layout, built-in FTP, find and replace that supports regular expressions, syntax highlighting, and more. Plus, it’s cross-platform. They’re both great options that just missed the top five if you want something more than the top five offers.

Advertisement

Best Editor For Mac

We really can’t say how many amazing nominees we got in the call for contenders thread this week. If you’re wondering where your favorite editor is, odds are it was nominated back in that thread, so make sure to go check it out. Remember, the top five are based on your most popular nominations from the call for contenders thread from earlier in the week. Don’t just complain about the top five, let us know what your preferred alternative is—and make your case for it—in the discussions below.

The Hive Five is based on reader nominations. As with most Hive Five posts, if your favorite was left out, it didn’t get the nominations required in the call for contenders post to make the top five. We understand it’s a bit of a popularity contest. Have a suggestion for the Hive Five? Send us an email at tips+hivefive@lifehacker.com!

Advertisement

Text Editor In Mac

Title photo by Darrell Nash.