brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Make Plain Text in TextEdit strips all formatting from a document

macOS
~/tips/tip-macos-textedit-make-plain-text

Format > Make Plain Text (saves as .txt)

Turn a rich text document in TextEdit into a plain .txt file without fonts or styles.

TextEdit opens new documents as rich text, which is great until you want to write a config snippet or a quick README and end up with an .rtf file and curly quotes everywhere. One menu item turns a document into honest plain text.

With the document open, choose Format > Make Plain Text. TextEdit asks you to confirm, and then the fonts, colors, bold and so on are gone. From then on the document saves as a .txt file.

Format > Make Plain Text   (saves as .txt)
Format > Make Rich Text    (saves as .rtf)

A good example is text you pasted from a website or an email that brought along its own fonts and colors. Make it plain, and you’re left with just the words, ready to copy somewhere else without the styling coming along.

If you mostly write plain text, change the default so you don’t have to do this every time: choose TextEdit > Settings, click New Document and select Plain text under Format. That’s the first thing I’d change on a new Mac, together with turning off Smart quotes under Options in the same tab if you ever paste code.

Be careful, though: the conversion is destructive. Apple says the document loses all text styles and formatting, and switching back with Make Rich Text gives you a rich document again, not the old styling. Images and tables in a rich document don’t survive in a .txt file either. So on a document that matters, I’d use File > Duplicate first and convert the copy.

Further reading: Create, open, and convert documents in TextEdit on Mac

More macOS tips System Settings > Accessibility > Hover Text > When using the pointer A Smart Folder in Notes collects notes by tag, checklist or date Type # in a Mac note to tag it, then filter by tag in the sidebar tmutil isexcluded ~/Projects/app/node_modules Crop an image in Preview by dragging a frame and clicking Crop All macOS tips (99) All topics

Link