10 Fantastic Free Web Page Editors

Want a great, 100% free editor for coding your HTML, CSS and JavaScript? Matt reviews ten of the best free Web editors available today.

10 Fantastic Free Web Page Editors

Every Web designer and coder needs a Web page editor to create and edit HTML, CSS and JavaScript code. Notepad (Windows) and TextEdit (Mac) are fine when you're starting out, but you'll soon want to graduate to something a bit more substantial.

There are hundreds of excellent editors to choose from — many of them paid — but what if you're a coder on a budget? In this article I'll take a look at some great free options out there.

Broadly speaking, Web page editors can be broken down into the following 2 categories:

  • WYSIWYG Editors. These are graphical editors that let you lay out and style your page visually, like using a word processor. They can be a handy way to build a design quickly although, as every pro Web designer knows, you nearly always need to tweak the code yourself for best results.
  • Text Editors. These let you work directly with HTML and CSS code, giving you the most flexibility with your designs. Some editors are very general-purpose, with no specific support for Web coding. Others are geared more towards Web languages like HTML, CSS, JavaScript and PHP, and have built-in shortcuts for quickly typing HTML tags, CSS properties, and so on. Many of these editors also let you preview the page in another window.

I've left out template-based page design apps that generate HTML, rather than letting you edit existing HTML pages. Examples of such apps include RapidWeaver, iWeb and NetObjects Fusion (and Fusion Essentials). While these apps can be great if you don't want to mess with HTML and CSS, they are not Web page editors in the traditional sense (and they're mostly commercial too), so I've excluded them from this article.

So without further ado, let's take a look at 10 of the best free Web page editors out there today!

KompoZer (Windows, Mac, Linux)

KompoZer screenshot
KompoZer is an excellent choice if you need to do visual editing on a budget

KompoZer is the only WYSIWYG editor in this list. In my opinion it's way better than the other free WYSIWYG editors currently available. It's an open-source editor, derived from the venerable Netscape Composer of old. You can edit your page in 3 modes:

  • WYSIWYG mode. This lets you edit the page and lay out elements visually.
  • Split mode. This is handy if you need to dip into a particular element's markup.
  • Source mode. This lets you edit the full page source, like a text editor. (Unfortunately there's no HTML tag auto-completion, or any quick way to enter tags.)

You can easily preview your page in the editor just as it would appear in a browser.

KompoZer supports pretty much every single HTML element, including images, tables, and forms. There's also a nice built-in CSS editor for editing your style sheets, a Site Manager for keeping track of all your site files, and a Publish feature for uploading the site via FTP.

Unlike many other WYSIWYG editors, KompoZer does a pretty good job of keeping your markup as clean as possible. It's not as nice-looking as commercial editors such as Dreamweaver, but it's easy enough to use, and if you want to do some visual editing on a budget then it's a great choice.

Komodo Edit (Windows, Mac, Linux)

Komodo Edit screenshot
Komodo Edit is a general code editor with a bit of a learning curve, but it's powerful, extendible, and lovely to use

Komodo Edit is an open-source programmer's editor based on the commercial Komodo IDE (Integrated Development Environment). It's highly extendible thanks to the use of a Firefox-like extension system, and lots of useful add-ons are available.

Although it's a general-purpose editor, it does support HTML and CSS pretty well, with context-aware auto-complete for HTML tags and CSS properties, as well as a collection of snippets for various HTML elements. To really get the most out of Komodo, though, I recommend installing the HTML Toolkit extension, which has some lovely features like closing tag auto-complete, CSS image preview, and instant Lorem Ipsum generation with a few keystrokes.

Komodo Edit lets you preview your pages in any installed browser, or use the built-in browser in a split view so you can edit and preview at the same time.

The editor has a built-in file upload feature (FTP, FTPS, SFTP, or SCP) for uploading your site files, and you can keep all your files nicely grouped with the project management features.

A really handy feature is Code > Select Block. This selects the current major block of HTML, such as the current enclosing div or ul element. Very useful for isolating a whole section in a page for copying or moving.

There are lots of power-user features in Komodo edit, such as powerful regular expression search/replace, the ability to run external commands, and Vi/Emacs keybinding schemes. Sometimes all this power can be a bit overwhelming if you just want to hack together some HTML. Fortunately the editor has a good, searchable help system which makes it easy to discover its wealth of features.

Aptana Studio (Windows, Mac, Linux)

Aptana Studio screenshot
Aptana Studio is a full Web development IDE with lots of plugins, although you can use it perfectly well just as an HTML/CSS/JavaScript editor

Aptana Studio is a fully-fledged Web development environment, and is particularly suited to Ajax development. Out of the box, it lets you edit HTML, CSS and JavaScript files, and many more Web programming languages are supported via plugins. It also lets you preview your dynamic Web apps using the built-in Jetty Web server.

The Aptana editor handles HTML and CSS really well: it auto-completes both CSS and HTML, and has nice syntax highlighting. In fact the HTML auto-completion is about as good as it gets with a free editor: it auto-closes HTML tags, and provides instant pop-up syntax help for things like CSS properties.

Aptana provides a nice project management system to keep all your files together, and supports uploading via FTP, SFTP and FTPS.

On the downside, Aptana is very much a high-end application, and the huge number of preferences, plugins and configuration options can be intimidating for the beginner. It can also be a little sluggish and unreliable at times. (Another minor niggle is that the standard keyboard shortcut for opening a file — Control/Command-O — instead brings up the Outline window!)

Despite its drawbacks, Aptana Studio is a great choice if you're after a complete Web IDE, and you can also use it simply as a very capable HTML/CSS/JavaScript editor.

Notepad++ (Windows)

Notepad++ screenshot
Notepad++ is a beefed-up replacement for Notepad on Windows. While not as full-featured as some editors, it's still great for editing HTML, CSS, JavaScript and other code files

Notepad++ is a solid, open source code editor, and a good replacement for the built-in Windows Notepad. It supports tabbed windows, HTML and CSS syntax highlighting, code folding, and auto-completion.

The find and replace options are comprehensive, including support for regular expression searches and searching in multiple files.

Notepad++ also has a plugin system, allowing you to extend the editor with additional features such as FTP uploading.

Other useful features for a Web coder include:

  • A file comparison tool
  • Built-in HTML Tidy functionality
  • Keyboard shortcuts for previewing in major browsers

PSPad (Windows)

PSPad screenshot
PSPad is another general-purpose Windows text editor with lots of useful functions for HTML and CSS coders

Like Notepad++, PSPad is a general-purpose programmer's editor for Windows. It features syntax highlighting and auto-completion, and is particularly suited to HTML and CSS editing, with built-in functionality for:

  • Code beautification with HTML Tidy
  • Browser previews
  • Conversion of formatted text from and to HTML, and
  • Conversion of CSS files from formatted to inline (and vice-versa).

A particularly nice feature — not seen in many other editors — is HTML > Compress HTML code, which minifies your markup for faster page downloads.

PSPad also has other useful features like a built-in FTP client and macro recording.

jEdit (Windows, Mac, Linux)

jEdit screenshot
jEdit is a cross-platform text editor with powerful macro and plugin capabilities. Install the XML plugin if you're editing Web pages

jEdit is an open-source, cross-platform text editor written in Java. On the plus side this means that it runs nicely on Windows, Mac OS X, Linux and more. On the downside, the interface is a bit clunky, with non-standard widgets, dialogs and keyboard shortcuts. However, if you can get round the drawbacks then jEdit is a nice editor with a lot of power up its sleeves.

jEdit has all the features you'd expect from a decent code editor, including syntax highlighting, macros and multiple clipboards. However, to get the most of jEdit as a Web coder, install the XML plugin (you can easily do this by choosing Plugins > Plugin Manager, then clicking the Install tab and selecting the XML plugin). This plugin gives you auto-completion for HTML and CSS, a document tree browser, code beautification, and more.

TextWrangler (Mac)

TextWrangler screenshot
TextWrangler is a lightweight, general-purpose editor. Despite its lack of Web-specific functions, it's still lovely to use for Web coding

TextWrangler from Bare Bones Software is very much a general-purpose text editor, so it doesn't have much in the way of Web-specific features, and there's no auto-completion. Despite that, it's quick and easy to use, and I find myself using it for a lot of lightweight HTML, CSS, JavaScript and PHP editing.

Some of TextWrangler's nice features include:

  • Syntax highlighting for HTML, CSS, JavaScript and other Web languages
  • Powerful, easy-to-use search and replace with regular expressions
  • Function navigation: Quickly jump to any HTML element, CSS selector, or JavaScript function in the file you're editing
  • Built-in FTP download/upload support
  • AppleScript support for automating common editing tasks

In essence, TextWrangler is great if you want a no-nonsense editor that doesn't get in the way while you edit your Web pages.

If you're prepared to shell out a small amount of cash for your editor, check out TextWrangler's big brother, BBEdit. This full-featured editor gives you auto-completion, HTML and CSS syntax checking, built-in HTML Tidy, and lots more.

Vim (Windows, Mac, Linux)

Vim screenshot
Vim certainly has a steep learning curve, but once you're proficient at it you'll never look back!

In many ways the granddaddy of programmer's text editors, Vim (along with its ancestor, vi) is a terminal-based open-source text editor. It's installed by default on most flavours of Unix, including Linux and Mac OS X. It's also available for Windows and many other systems.

Vim isn't something you can expect to just pick up and start using straight away. Most of the editing commands involve typing strange keystrokes like :wq and /. It also has 3 editing modes: an insert mode where you type your text, a visual mode for selecting text, and a command mode where you enter commands. This is all due to vim's Unix heritage, from the days when there were no such things as windows and mice.

So why use it? Well, once you master it, Vim is incredibly quick and powerful. With a few keystrokes, you can do things in a few seconds that would take minutes with other editors.

There are various Vim macros and plugins available to help with HTML, CSS and JavaScript coding, including syntax highlighting, auto-completion, HTML Tidy, and in-browser previewing. Here are some useful pointers:

If you just can't get on with an editor that runs in a terminal window, Vim has a graphical counterpart called gvim, complete with more user-friendly windows and menus.

gedit (Windows, Mac, Linux)

gedit screenshot
gedit is basic but nice to use, and you can use plugins to turn it into a capable Web editor

gedit is the default text editor of the GNOME desktop environment, commonly used on Linux. It also runs perfectly happily on Windows and Mac OS X, and downloads for all systems are available from the homepage.

The nice thing about gedit is that it has an uncluttered interface and is easy to use, yet you can choose from a huge range of plugins to customize it as you need. Handy plugins for Web coders include:

Fraise (Mac)

Fraise screenshot
Fraise is an intuitive Mac editor with just enough features to make Web editing easy

Like TextWrangler and gedit, Fraise is a nice lightweight text editor that's pleasant to use. It's a fork of the now-defunct Smultron editor. It's relatively new so it doesn't have a proper homepage yet. It currently only supports Mac OS X 10.6 (Snow Leopard), so if you're still using 10.5 you'll need to download Smultron instead.

Fraise has some nice Web-specific features, including:

  • Syntax highlighting for HTML, CSS, JavaScript, PHP and lots more.
  • A Close Tag command (Command-T) for closing the current tag. This really saves time when entering lists and so on.
  • A handy built-in browser preview (using WebKit), with a very useful Live Update option that updates as you edit your markup and CSS.
  • An Advanced Find option that supports regular expression search and replace.
  • Support for snippets for quickly entering HTML tags and CSS properties.
  • Some useful text-manipulation commands such as HTML validation and converting characters to HTML entities.

Fraise is worth a look if you use a Mac, and you're after a user-friendly editor that's more capable than the built-in TextEdit.


I hope you enjoyed this list of excellent free Web editors to try. If you'd like to explore even more editors, Wikipedia has comparisons of HTML editors as well as general text editors. Enjoy!

What's your favourite editor from the list? Or maybe your favourite's not on the list? Please add your comments, ideas and suggestions below!

Follow Elated

Related articles

Responses to this article

16 responses (oldest first):

04-May-10 07:29
Hi Matt,

Very impressive list you gave here, thanks for sharing. I like Notepad2. But I'm wondering what's the difference between between Notepad2 and Notepad++ ?
05-May-10 05:42
I think Nedit is a pretty good editor for the Unix world, especially for those coming from the Windows world. The macro capability is pretty handy too.

07-May-10 02:23
@mauco: I haven't used Notepad2 myself but I think they are pretty similar, except that Notepad++ doesn't support multiple documents/tabs I believe?

@whytea: NEdit does look pretty good - are there Mac and/or Windows ports, do you know?
07-May-10 14:23
Nice list.

I moved to Aptana from Dreamweaver a few years ago to avoid upgrade costs. Aptana was excellent, *until* they inexplicably dropped PHP support. I searched for a new tool, and I've now been a happy Netbeans developer for over 9 months. Very similar in appearance to Aptana, but not based on Eclipse - so it's very stable and fast.

The only drawback for Netbeans (and also Aptana) is that neither has a Word Wrap function for code. Never quite worked out the logic on that decision...

07-May-10 18:46

I don't use a Mac, but I have seen Mac port of Nedit on the Web. Since Mac OS X is Unix based, there is no reason why it can be recompiled for the Mac. Unfortunately there is no native port for Windows.

Since we are talking about editors, I'd like to mention two other Windows editors:

1) Tse Pro
- shareware from Semware (http://www.semware.com)
- it existed since the Dos days and the interface hasn't
changed much
- incredibly flexible
- the macro is extremely powerful, something you don't
find in most of the Windows editors

2) R J TextEd (http://www.rj-texted.se/)
- a nice free modern editor, kind of like PsPad
- loads of features

14-May-10 20:54
Thanks for the additional suggestions guys - will check them out!

@kpdirection: I quite like Netbeans too, but left it out of the list because I wanted to concentrate more on simple editors than full IDEs.

BTW you can turn on word wrap in Aptana but the option is ridiculously well hidden. In the Preferences dialog click Aptana, then Editors, then Advanced, then "Enable word wrap (requires editor restart)".
18-Oct-11 08:05
I suggest to look also at free PHP/HTML/CSS Editor - Codelobster PHP Edition - http://www.codelobster.com
25-Nov-11 16:50
You left out Quanta+, the best Linux editor I can find. Unfortunately it only runs on KDE3. Also you left out bluefish and Amaya.

John Culleton
22-Mar-13 04:11
You missed to mention about Sublime Text (Mac , Windows , Linux )

Light weight editor
Navigations are like chorme
20-Feb-19 14:32
This is a good article because there are many tips and also many advices that will be very useful for me.
20-Feb-19 14:32
This is a good article because there are many tips and also many advices that will be very useful for me.
20-Feb-19 14:32
This is a good article because there are many tips and also many advices that will be very useful for me.
20-Feb-19 14:32
This is a good article because there are many tips and also many advices that will be very useful for me.
20-Feb-19 14:32
This is a good article because there are many tips and also many advices that will be very useful for me.
20-Feb-19 14:33
This is a good article because there are many tips and also many advices that will be very useful for me.
20-Feb-19 19:13
This is a good article because there are many tips and also many advices that will be very useful for me.

Post a response

Want to add a comment, or ask a question about this article? Post a response.

To post responses you need to be a member. Not a member yet? Signing up is free, easy and only takes a minute. Sign up now.

Top of Page