# Mac text editor -- a really easy question

**URL:** <https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795>\
**Category:** Factual Questions\
**Created:** [January 5, 2010, 8:41pm UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795 "2010-01-05T20:41:02Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaio](https://avatars.discourse-cdn.com/v4/letter/k/c68b51/32.png) [@Kaio](https://boards.straightdope.com/u/Kaio)\
**Post date:** [January 5, 2010, 8:41pm UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795/1 "2010-01-05T20:41:02Z")

</div>

I assume that Mac computers come bundled “out of the box” with some form of text editor along the lines of Notepad in PCs. What is this piece of software called, and where in the directory tree is it generally located? I will soon be teaching short tutorials which will require the use of a text editor, and not everyone will be using a PC, and probably few of them will have had any prior experience with the text editor.

Thanks.

---

<div class="post-metadata">

**Author:** ![h.sapiens](https://avatars.discourse-cdn.com/v4/letter/h/e0b2c6/32.png) [@h.sapiens](https://boards.straightdope.com/u/h.sapiens)\
**Post date:** [January 5, 2010, 8:48pm UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795/2 "2010-01-05T20:48:13Z")

</div>

The Mac text editor is called, oddly enough, “TextEdit”. Its home is the Applications folder on the hard drive.

---

<div class="post-metadata">

**Author:** ![Cat\_Whisperer](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cat_whisperer/32/4839_2.png) [@Cat\_Whisperer](https://boards.straightdope.com/u/Cat_Whisperer)\
**Post date:** [January 5, 2010, 8:48pm UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795/3 "2010-01-05T20:48:37Z")

</div>

It’s called “TextEdit” and it is found (goes and looks) here - open Finder, open Applications, and TextEdit should be in your list. I always keep TextEdit on my dock.

---

<div class="post-metadata">

**Author:** ![Cat\_Whisperer](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cat_whisperer/32/4839_2.png) [@Cat\_Whisperer](https://boards.straightdope.com/u/Cat_Whisperer)\
**Post date:** [January 5, 2010, 8:49pm UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795/4 "2010-01-05T20:49:39Z")

</div>

Jinx!

---

<div class="post-metadata">

**Author:** ![EmAnJ](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@EmAnJ](https://boards.straightdope.com/u/EmAnJ)\
**Post date:** [January 5, 2010, 8:49pm UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795/5 "2010-01-05T20:49:58Z")

</div>

It’s called Pages and can be found through Finder under Applications.

ETA: This is if they have iWork installed - otherwise, yes, it’s TextEdit.

---

<div class="post-metadata">

**Author:** ![Balthisar](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/balthisar/32/2825_2.png) [@Balthisar](https://boards.straightdope.com/u/Balthisar)\
**Post date:** [January 5, 2010, 9:07pm UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795/6 "2010-01-05T21:07:21Z")

</div>

> [@EmAnJ](#):
>
> It’s called Pages and can be found through Finder under Applications.

Does Pages work as a text editor? I guess even Word has “Save As… Text” but it’s not quite the same.

---

<div class="post-metadata">

**Author:** ![UncleRojelio](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/unclerojelio/32/3160_2.png) [@UncleRojelio](https://boards.straightdope.com/u/UncleRojelio)\
**Post date:** [January 5, 2010, 9:08pm UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795/7 "2010-01-05T21:08:00Z")

</div>

If you like real text editors, I think emacs, vi, vim, and pico are all available from the terminal interface.

---

<div class="post-metadata">

**Author:** ![dracoi](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@dracoi](https://boards.straightdope.com/u/dracoi)\
**Post date:** [January 5, 2010, 10:07pm UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795/8 "2010-01-05T22:07:43Z")

</div>

If people are going to be doing much work with plain text, I would strongly recommend [TextWrangler](http://www.barebones.com/products/TextWrangler/), which is freeware.

But TextEdit will do the job and is automatically installed in any version of OS X.

---

<div class="post-metadata">

**Author:** ![Superfluous\_Parentheses](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@Superfluous\_Parentheses](https://boards.straightdope.com/u/Superfluous_Parentheses)\
**Post date:** [January 6, 2010, 12:14am UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795/9 "2010-01-06T00:14:11Z")

</div>

> [@UncleRojelio](#):
>
> If you like real text editors, I think emacs, vi, vim, and pico are all available from the terminal interface.

Also, there are multiple OSX GUI emacs versions. Including at least the last two major versions of the “official” tree.

> **[EmacsWiki: Emacs For Mac OS](https://www.emacswiki.org/emacs/EmacsForMacOS)**

---

<div class="post-metadata">

**Author:** ![Kaio](https://avatars.discourse-cdn.com/v4/letter/k/c68b51/32.png) [@Kaio](https://boards.straightdope.com/u/Kaio)\
**Post date:** [January 6, 2010, 12:16am UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795/10 "2010-01-06T00:16:15Z")

</div>

Thanks all. It’s just a brief, down n dirty lesson on how to edit an HTML file (and few, if any, will have access to a WYSIWYG editor), so all I need is what the student already has handy on their system.

---

<div class="post-metadata">

**Author:** ![qazwart](https://avatars.discourse-cdn.com/v4/letter/q/5fc32e/32.png) [@qazwart](https://boards.straightdope.com/u/qazwart)\
**Post date:** [January 6, 2010, 5:44am UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795/11 "2010-01-06T05:44:05Z")

</div>

Actually, the Mac is full of text editors. There’s Emacs, VIM, Pico, and of course, TextEdit.

TextEdit is the graphical one and is available from the Applications folder. However, if you’re a developer, you’ll probably prefer VIM or EMACS. I don’t know anyone who still uses Pico.

Word 'o Warning: TextEdit will save your files in RTF by default. This is not pure text, but contains some file formatting. If you need a pure text file, choose “Make Plain Text” under the Format menu.

Another Word 'o Warning: TextEdit saves plain text files with UNIX line endings and not Windows line endings. If you open a file on a Windows machine using Notepad, it won’t have the line breaks.

---

<div class="post-metadata">

**Author:** ![BigT](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bigt/32/12044_2.png) [@BigT](https://boards.straightdope.com/u/BigT)\
**Post date:** [January 6, 2010, 9:05am UTC](https://boards.straightdope.com/t/mac-text-editor-a-really-easy-question/523795/12 "2010-01-06T09:05:57Z")

</div>

> [@qazwart](#):
>
> Another Word 'o Warning: TextEdit saves plain text files with UNIX line endings and not Windows line endings. If you open a file on a Windows machine using Notepad, it won’t have the line breaks.

They still didn’t fix this in Windows Vista/7? Wordpad for XP handles it properly, so I assumed they hadn’t implemented it into Notepad yet. If you’re worried about the difference between a newline and a carriage return, you probably should be using a hex editor.

Good thing none of this matters when writing HTML.
