If you have a Mac, you don't need to download an HTML editor to write or edit HTML for a web page. The TextEdit program ships with all Mac computers. With it, and a knowledge of HTML, you can write and edit HTML code.
TextEdit, which works with files in a rich text format by default, must be in plain text mode to write or edit HTML.
If you use TextEdit in rich text mode and save an HTML document with the .html file extension when you open that file in a web browser, you see the HTML code, which isn't what you want.
To change how the HTML file displays in the browser, you change TextEdit to the plain text setting. You can do this on the fly or permanently alter the preferences if you plan to use TextEdit as your full-time code editor.
UltraEdit for Mac/Linux includes full localizations in English, German, Italian, Spanish, French, Korean, Chinese (Simplified and Traditional), and Japanese. UltraEdit will default to the appropriate language based upon your system locale setting. Maybe it’s Pages or Microsoft Word, or perhaps you use an online option, like Google Docs or Dropbox Paper. However, what separates these tools from a text editor, and what makes a text editor so compelling to a lot of people, is that a text editor removes almost every distraction between you and the text.
Create an HTML File in TextEdit
If you only occasionally work on HTML files, you can make the change to plain text for a single document.
- Open the TextEdit application on your Mac. Select File > New from the menu bar.
- Select Format on the menu bar and click Make Plain Text. Confirm the plain text selection in the window that opens by clicking OK.
- Click File > Save. Type a name for the file with a .html extension and choose a location to save the file.
- Click Save. Confirm you want to use the .html extension in the screen that opens.Test your work by dragging the saved file onto a browser. It should display exactly as you will see it when you publish it to the web. The example file dragged onto any browser should look like this:
Instruct TextEdit to Open HTML as HTML
If you see any problems with your file, reopen it in TextEdit and make any necessary edits. If you open it in TextEdit and don't see the HTML, you need to make one more preference change. You only need to do this once. - Go to TextEdit > Preferences.
- Put a check in the box next to Display HTML files as HTML code instead of formatted text. If you're using a version of macOS older than 10.7, this option is called Ignore rich text commands in HTML pages.
Changing the TextEdit Default Setting to Plain Text
If you plan to edit lots of HTML files with TextEdit, you might prefer to make the plain text format the default option. To do that, go to TextEdit > Preferences and open the New Document tab. Click the button next to Plain text.
We have evaluated over 20 free HTML editors for Macintosh against over 40 different criteria relevant to professional web designers and developers. The following applications are the best free HTML editors for Macintosh, both WYSIWYG and text editors, rated from best to worst. Each editor listed will have a score, percentage, and a link to more information.
Best Value: Komodo Edit
What We Like
- Lots of add-ons available.
- Built-in FTP client.
- Auto-complete and syntax checking features.
What We Don't Like
- Slow to load.
- Feels cluttered.
- Difficult to install color schemes.
Komodo Edit is hands down the best free XML editor available. It includes a lot of great features for HTML and CSS development. Plus, if that isn't enough, you can get extensions for it to add on languages or other helpful features (like special characters).
Komodo Edit is not the best HTML editor out there, but it is great for the price, especially if you build in XML. 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.
There are two versions of Komodo: Komodo Edit and Komodo IDE.
Best for JavaScript Developers: Aptana Studio
Text Editor For Html In Mac
What We Like
- Integrated debugger.
- Build-in Code Assist feature for tags.
- Built-in terminal emulator.
What We Don't Like
- No longer in development.
- Minimal support for PHP.
- Some dependencies.
Aptana Studio offers an interesting take on website development. Instead of focusing on HTML, Aptana focuses on the JavaScript and other elements that allow you to create rich internet applications.
One thing I really like is the outline view that makes it really easy to visualize the document object model (DOM). This makes for easier CSS and JavaScript development.
If you are a developer creating web applications, Aptana Studio is a good choice.
A Full Featured Java IDE: NetBeans
What We Like
- Version 9.0 released by Apache after acquisition.
- Supports the Jigsaw Module system.
- Supports Java Shell, new in JDK 9.
What We Don't Like
- Needs high-memory computer to run quickly.
- Not many plug-ins.
- Auto-completion is buggy.
NetBeans IDE is a Java IDE that can help you build robust web applications. Like most IDEs, it has a steep learning curve because they don’t often work in the same way that web editors do. But once you get used to it you’ll be hooked.
One nice feature is the version control included in the IDE which is really useful for people working in large development environments. If you write Java and web pages this is a great tool.
Best for LAMP Developers: Bluefish
What We Like
- Auto-completion and auto-tag closing.
- Powerful search and replace.
- Quick to start and load files.
What We Don't Like
- Not for novice programmers.
- User interface looks intimidating.
- Too many tabs and toolbars.
Bluefish is a full-featured web editor for Linux. There are also native executables for Windows and Macintosh. There is code-sensitive spell check, autocomplete of many different languages (HTML, PHP, CSS, etc.), snippets, project management, and auto-save.
It 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, but if you’re a designer by nature you might not like it as much.
A Powerful Multi-Language IDE: Eclipse
What We Like
- Robust debugging and profiling profile.
- Code-completion feature.
- Fast deployment and implementation.
What We Don't Like
- Slow when working with large files.
- Not recommended for large businesses.
- Steep learning curve for novice programmers.
Eclipse is a complex, Open Source development environment that is perfect for people who do a lot of coding on a variety of platforms and with different languages.
Eclipse is structured as plug-ins, so if you need to edit something just find the appropriate plug-in and go.
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.
A Swiss Army Knife IDE from Mozilla: SeaMonkey
What We Like
- Tabs for WISIWYG editing, HTML tags, HTML code, and browser views.
- Suitable for building simple, basic websites.
What We Don't Like
- Composer element no longer being maintained.
- Generates HTML 4.01 Transitional code.
SeaMonkey is the Mozilla project all-in-one internet application suite. It includes a web browser, email and newsgroup client, IRC chat client, and Composer, the web page editor.
One of the nice things about using SeaMonkey is that the browser is built-in, so testing is a breeze. Plus it's a free WYSIWYG editor with an embedded FTP client to publish your web pages.
A Basic HTML Writer: Amaya
What We Like
- Useful for up to HTML 4.01.
- Supports SVG and MathML.
What We Don't Like
- Last updated in 2012.
- No longer in development.
Amaya is the World Wide Web Consortium (W3C) web editor and web browser. It validates the HTML as you build your page and displays your Web documents in a tree structure, which is useful for learning to understand the DOM.
Amaya has a lot of features that most web designers won’t ever use, but if you want to be certain that your pages follow the W3C standards, this is a great editor to use.
Straightforward and Stable: BBEdit 12
What We Like
![Editor Editor](/uploads/1/2/6/8/126891861/526940834.png)
- Supports HTML5.
- Opens large files.
- Great customer support.
- Rock-solid software.
What We Don't Like
- Advanced features require paid version after 30-day free trial.
- Must search menus for features and options.
Best Free Text Editor Mac
BBEdit is a paid program that has a set of free capabilities (the same capabilities that the now-defunct TextWranger had. While Bare Bones Software, the makers of BBEdit do offer a paid version, you may find the free version does everything you need. You can review a feature comparison here.
Note
Best Text Editor For Coding In Mac
If you're using TextWrangler, it is not compatible with macOS 10.13 (High Sierra). However, the free (and paid) version of BBEdit is.