It's been around for a long time now, but Notepad++ deserves a place on this list, because it can still compete with the best text editors around. This option is for Windows users only, and is still being actively updated. For no money whatsoever, you get a capable (if sometimes workmanlike) editor with plenty of features, and you can also mess about with the interface to suit your preferences. It's the work of Paris-based software engineer Don Ho.
There are various incarnations of Emacs but one of the most often-used is GNU Emacs; a free-forever, extensible and customisable text editor. It's one of the most powerful editors out there and as such takes a while to learn your way around. Features include content-aware editing modes and full Unicode support for nearly all script types.
Komodo Edit is a powerful but basic code editor. It offers multi-language support, multiple selections and autocomplete, plus the ability to track changes or view a Markdown version. There's also a more fully featured IDE, which you'll need to pay for.
If coding on the go is your thing (and you're an Apple fan), Buffer Editor could be a great option for you. This iOS app is designed to make it easy to make quick changes to your website via your iPhone or iPad. It offers split view or fullscreen modes, and you can quickly switch between tabs. It also connects with BitBucket, GitHub, GitLab, Dropbox, iCloud ,Google Drive, SFTP, SSH and FTP servers.
CoffeeCup HTML Editor offers two different code editor options. There's a free version, which is great for beginners looking for a simple text editor. With it, you can create new HTML and CSS files from scratch or edit existing site files. Alternatively, there are a bunch of customisable responsive themes you can use to kick-start a new project. There's also a paid version, which includes a more features, such as HTML and CSS validation tools and a table designer.
Text editor Coda (now on version 2) is a OS X app that offers plenty of handy tools. Alongside the usual code editor options, there are some interesting features – for example, Find and Replace includes a 'Wildcard' token that makes RegEx one-button simple, and Coda Pops enables you to quickly create colours or gradients, using easy controls, as you type.
DroidEdit Pro is a slick code editor for Android tablets and phones. For the low price tag you get an app that looks great and works nicely for coding on the move. The simple interface gets out of the way, and the app supports syntax highlighting, bracket matching, Dropbox, and SFTP/FTP. There are also configurable shortcuts, to cut down on hunting and pecking on smaller Android device keyboards.
Textastic is a code editor aimed specifically at coding on the iPad (although there are iPhone and Mac versions). Along with all the usual bits and bobs you'd expect (FTP/SFTP support, local and remote preview, syntax highlighting), you get a handy additional row of keys on the virtual keyboard that provides fast access to regularly used characters. There's also TextExpander support for working with and expanding snippets.
Next page: How to choose the right code editor