TextEdit is the default text editor in macOS, and it’s just as barebones as the default text editor in Windows, Notepad. Naturally, many Mac users sooner or later look for an alternative, and they often stumble upon Notepad++. Notepad++ is basically what would happen if you were to inject Notepad. Most of the text editors below need to be downloaded to your computer before you can use them, but all of them provide their own unique set of features that set them apart from the default programs that come with Windows and Mac. Type: FREE Made for: Mac. Remember BBEdit and how it didn’t really make the cut? Well, the same makers released the Text Wrangler, which is a significant upgrade from BBEdit. Designed specifically for the Mac, it is a boon for system administrators and programmers. What is a MAC iOS Code Editor? Now before you look for best text editors for Mac one must know little about text editor.A text editor is a program that serves the purpose of editing the plain text files. A text editor is at the core of a developer’s toolbox, but it doesn't usually work alone. Work with Git and GitHub directly from Atom with the GitHub package. Create new branches, stage and commit, push and pull, resolve merge conflicts, view pull requests and more—all from within your editor.
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.
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)
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
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.
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.
![Best text editor on mac Best text editor on mac](/uploads/1/2/6/2/126205349/605721792.png)
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.
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
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 [email protected]!
Advertisement
Title photo by Darrell Nash.
TextEdit is the default text editor in macOS, and it’s just as barebones as the default text editor in Windows, Notepad. Naturally, many Mac users sooner or later look for an alternative, and they often stumble upon Notepad++.
Note: Download and upload data in full privacy with VPN, you can use well known Nord VPN or google other apps by yourself.
What Is Notepad++?
Notepad++ is basically what would happen if you were to inject Notepad with steroids and forced it to work out. It supports several programming languages and features syntax highlighting, syntax folding, PCRE (Perl Compatible Regular Expression) search/replace, auto-completion, multi-document editing, WYSIWYG printing, zoom in and zoom out, bookmarks, macro recording and playback, and more.
Notepad++ is free and open source, first released in 2003 by Don Ho. It’s written in C++ and based on powerful editing component Scintilla. This free open source library supports many features to make code editing easier in addition to error indicators, line numbering in the margin, as well as line markers such as code breakpoints.
Because of its extensive features, support for 84 languages, and free price, Notepad++ was voted as the most used text editor worldwide with 34.7 percent of 26,086 respondents on Stack Overflow claiming to use it daily. It has also won a number of prestigious awards including the “Best Programming Text Editor for Windows” award from Lifehacker in 2011 and 2014.
Why Is Notepad++ Mac Not Available?
Unfortunately, it’s impossible to download Notepad++ for Mac. You might think that Notepad++ Mac isn’t available because it’s also not possible to download Notepad for Mac, but that’s not the real reason why.
Notepad++ relies extensively on Win32 API, the 32-bit application programming interface for modern versions of Windows. Win32 API consists of many components, including things like file systems, devices, processes, threads, and error handling. It’s also responsible for that instantly recognizable Windows look and feel that many long-term users of the operating system find so appealing. In short, without Win32 API, there’s no Notepad++. At least not without a major rewriting of the application.
If Notepad++ were a commercial project, there’s a chance that it would make a sense to develop and maintain a separate version for macOS (and Linux), but it’s free and open source, so the motivation is limited. Porting Notepad++ to another operating system would also break the compatibility with most plugins, essentially fragmenting the Notepad++ community.
How to Run Notepad++ On Mac?
Because of extensively Notepad++ relies on Win32 API, there are two possible ways how to run it on macOS: rewrite it so that it doesn’t rely on Win32 API anymore, or provide it the necessary API. We’ve already explained why the former is unlikely to happen anytime soon, but the latter is already possible using virtual machines and emulators.
Install Notepad++ on Mac Using Wine
Wine is a recursive backronym for Wine Is Not an Emulator. What is Wine then? A free and open-source compatibility layer whose goal is to emulate the Windows runtime environment by translating Windows system calls into POSIX-compliant system calls. It also recreates the directory structure of Windows systems and provides alternative implementations of Windows system libraries, services, and other components.
As you can see here, Notepad++ runs well in Wine, especially its earlier versions, which rate rated Gold and Platinum. Wine’s rating system is designed to assist users by giving a rating based on other users’ experience:
- Platinum: Works as well as (or better than) on Windows out of the box.
- Gold: Works as well as (or better than) on Windows with workarounds.
- Silver: Works excellently for normal use, but has some problems for which there are no workarounds.
- Bronze: Works, but has some problems for normal use.
- Garbage: Problems are severe enough that it cannot be used for the purpose it was designed for.
To install Wine on macOS, you need macOS 10.8 or higher, and you must set Gatekeeper to NOT block unsigned packages. If you meet these prerequisites, you can continue by following the steps below:
- Download the installer for Wine Stable from this page.
- Double-click on the installer.
- Create the fake C: drive where your Windows applications will be installed by entering “winecfg” into the terminal.
- Download Notepad++ from its official website.
- Place it in any directory you want.
- Open the terminal and navigate to the directory with Notepad++.
- Start the Notepad++ installation .exe file by typing “wine the-name-of-the-file.exe” into the terminal.
- To launch Notepad++ navigate to its folder in the virtual Windows directory and type “wine the-name-of-the-file.exe” into the terminal.
Install Notepad++ on Mac Using VMware
The main advantage of running Notepad++ (or any other application) using Wine is that it runs side-by-side with native macOS applications. But due to how Wine works, minor bugs are to be expected. A bug here and there may be acceptable if you use Notepad++ only to occasionally edit a text file, but they can quickly make Notepad++ unusable for software developers or anyone who wants to use it extensively.
That’s where virtualization software solutions such as VMware Fusion come in. With it, you can set up a virtual Windows machine on your Mac computer and use the virtual machine to execute any Windows software you want. The virtual machine can even share the same clipboard with your Mac, allowing you to effortlessly copy and paste text and images to and from Notepad++ across operating systems.
To get started with VMware Fusion, we recommend you this detailed tutorial from VMware where you can learn everything you need to know about running Windows applications on Intel-based Mac computers. Of course, you’ll also need a copy of Windows.
3 Best Alternatives to Notepad++ for Mac Users
While it’s possible to run Notepad++ on macOS using Wine or VMware, neither approach is without its downsides, which is why many people look for alternatives to Notepad++ for Mac computers instead. One important reason is stability. There’s nothing worse than editing an important text file for an hour or two only to have your text editor suddenly crash, causing you to lose all your progress.
Unless you have a data recovery solution such as Disk Drill installed on your computer, your chances of recovering your lost data are slim. Disk Drill makes data recovery of over 200 file formats a matter of a single button press, and it comes with handy disk tools to help you keep your data organized and protected.
Data recovery for free
Your Companion for Deleted Files Recovery
Your Companion for Deleted Files Recovery
To be as save as you can be, we recommend you have Disk Drill installed on your computer and consider one of the following alternatives to Notepad for Mac. Because the alternatives we’ve selected are native, mature Mac applications, their stability is guaranteed.
Notepad For Mac
Brackets
Brackets is a modern text editor made with the needs of web developers in mind. It has a live preview feature that allows you to instantly see changes to CSS and HTML files in your web browser of choice, it can with your LESS and SCSS files, and it can show you all the CSS selectors with that ID in an inline window so you can work on your code side-by-side without any popups. Brackets is open source, free, and as sleek as a macOS application should be. Because of how lightweight Brackets is, it runs extremely well even on older Macs, making it our favorite Notepad++ Mac alternative for anyone who edits text on a regular basis.
Textmate
Textmate is a versatile text editor that brings Apple’s approach to operating systems into the world of text editors, as stated by its developers. It has many features, including the ability to search and replace text, auto-indent for common actions, clipboard history, dynamic outline for working with multiple files, file tabs when working with projects, foldable code blocks, and more. Despite its extensive features, Textmate remains highly accessible even to casual computers users who only edit text now and then. Using its powerful snippets, macros, and unique scoping system, Textmate can provide features that even a language specific IDE lacks.
Sublime Text
Sublime Text is a feature-packed text editor that runs on macOS, Windows, and Linux. It’s designed for code and prose alike. Sublime Text supports splits editing, customizable key bindings, menus, snippets, macros, completions, and it’s built from custom components, providing for unmatched responsiveness. Sublime Text is also free to download, but a license must be purchased for continued use. A single personal license costs $80, which is not an insignificant amount considering how many alternative text editors for Mac are available free of charge. But the fact that Sublime Text is among the most popular text editors across all operating systems is perhaps the best testament to its capabilities.