TekRevue

  • Home
  • Mac
  • Windows
  • Mobile
  • Games
  • Home Theater
  • Reviews
  • Editorials
  • Tips
    • Windows
    • Mac
    • Mobile
  • Twitter
  • Facebook
  • Google+
  • Feed

ouh_desire/Shutterstock

Mac

How to Extract Text from a PDF Using Your Mac’s Free Built-In Tools

By Melissa Holt on June 28, 2017 at 1:06 PM • @MelissaCHolt

The Portable Document Format (PDF) is a great way to share documents while preserving formatting, layout, and even security. But sometimes you need to copy some text from a PDF, and leave all of the document’s images and formatting behind. This can be particularly challenging when the text you want is split and divided by images.

So how do you copy just the text from a PDF, while ignoring the images and formatting? Well, the Mac’s TextEdit app is here to help!

Step 1: Open the PDF File

The first step is to open your PDF file. The default application for viewing PDFs in macOS is the Preview app, and that’s what you’ll see in the following screenshots. If you have a third party PDF application, such as Adobe Acrobat, the steps are similar.

mac pdf file preview
This is the most awesome demo file EVER.

Step 2: Select Everything in the PDF

Normally when you need to select text from a PDF that has a lot of images and formatting, you’d probably use your mouse or trackpad cursor to select each block of text, copy it out to the clipboard, and then paste it into your desired application. And if you need just a little bit of text, this method is fine. But if you need multiple pages of text, this can take forever. The answer is to just select it all, and we’ll show you how to deal with the images and formatting next.

So, select all of the content in your PDF by heading to Edit > Select All or by using the keyboard shortcut Command-A.

pdf select all

Once you do so, you’ll see the entire contents of your document selected.

pdf file selected all

Step 3: Copy and Paste the PDF Contents

With the contents of your PDF selected, head to Edit > Copy in the menu bar or use the keyboard shortcut Command-C. Next, find and launch the TextEdit app, which is located by default in your Applications folder. You can also search for it via Spotlight.

textedit mac app

Depending on your TextEdit settings, you may need to create a new document when launching the app. Click the New Document button in the lower-left corner of the window to do so.

textedit new document

By default, your new TextEdit document will open in Rich Text mode. You’ll need to change it to Plain Text Mode, as this is the secret that lets us paste the entire PDF but only see the text. To switch to Plain Text Mode, select Format > Make Plain Text, or use the keyboard shortcut Shift-Command-T.

textedit plain text

If you see Make Rich Text in this window on your own Mac, then that means your TextEdit document is already in Plain Text Mode.

Finally, copy the contents of your PDF by selecting Edit > Paste from the menu bar or using the keyboard shortcut Command-V. Because we’re in Plain Text Mode, you’ll see just the text from your PDF, and not any of the images or formatting.

text edit paste plain text

Your text may still need to be cleaned up a bit in terms of spacing, but it should be much easier to deal with in whatever application it’s destined for.

Bonus: Force All TextEdit Documents to Open in Plain Text Mode

If you’ll be doing this PDF copy-paste routine often, you can set TextEdit to open in Plain Text Mode by default, which can save you a little bit of time. To do so, select TextEdit > Preferences from the menu bar.

TextEdit Preferences

From the Preferences window, select the New Document tab and choose Plain Text under the “Format” section.

textedit new document plain text

As mentioned, this can save you some time, but you can always switch individual TextEdit documents back to Rich Text Mode by using the method described earlier. So you’re not stuck with one or the other, but just be aware that if you switch a Rich Text document to Plain Text and then switch back to Rich Text, you will have lost all formatting in the process.

Want news and tips from TekRevue delivered directly to your inbox? Sign up for the TekRevue Weekly Digest using the box below. Get tips, reviews, news, and giveaways reserved exclusively for subscribers.

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Google+ (Opens in new window)

  • Categories: Mac
  • Tags: #How To #PDF #Plain Text #Rich Text #TextEdit #Tips

Sign Up for the TekRevue Weekly Digest

Read more in Mac on TekRevue

  • microsoft word for mac
    How to Change the Default Font in Microsoft Word for Mac

    Filed Under: Mac

  • mac printer
    Here Are Two Ways to Print Multiple Files at Once in macOS

    Filed Under: Mac

  • Samsung 64bit Smartphone
    64-bit Mode: How to Prevent 32-bit Apps From Running on Your Mac

    Filed Under: Mac

Search

Related Articles

  • signature
    How to Sign a PDF in Mail on the Mac
  • adobe acrobat
    How to Change the Default View for PDFs in Adobe Acrobat
  • pdf mac os x
    How to Extract Pages from a PDF Document in Mac OS X Preview
  • textedit-osx
    How to Use TextEdit Plain Text Mode by Default in Mac OS X

Connect with TekRevue

  • TekRevue on Twitter
  • TekRevue on Facebook
  • TekRevue on Google+
  • Cheats
  • Deals
  • Distractions
  • Editorials
  • Gadgets
  • Games
  • Giveaway
  • Hardware
  • Home Theater
  • More in Mac
  • Mobile
  • News
  • Podcast
  • Reviews
  • Sponsor
  • Tips
  • Windows
  • microsoft word for mac
    How to Change the Default Font in Microsoft Word for Mac
  • mac printer
    Here Are Two Ways to Print Multiple Files at Once in macOS
  • macos mojave wallpaper day night
    Download the macOS Mojave Wallpaper Day & Night Versions
  • macos mojave system requirements
    Can Your Mac Run Mojave? macOS Mojave System Requirements
  • Samsung 64bit Smartphone
    64-bit Mode: How to Prevent 32-bit Apps From Running on Your Mac
  • app is not optimized for your mac
    32-bit Apps: What to Do If an App ‘is Not Optimized for Your Mac’
  • mac offsite backup
    How and Why to Set Up an Offsite Backup for Your Mac
  • safari bookmarks
    How to Configure Safari to Load Multiple Websites on Startup
  • mac ds_store network files
    Stop Your Mac From Creating .DS_Store Files on Shared Network Drives
  • safari suggestions mac
    How to Turn Off Safari Suggestions in macOS
  • macbook dictionary
    How to Get a List of Spelling Suggestions on the Mac
  • mac app store high sierra banner
    How to Hide the High Sierra Upgrade Banner in the Mac App Store
  • macbook keyboard typing
    Handy Mac Keyboard Shortcuts for Opening and Saving Files
  • combine pdf mac
    How to Combine PDFs with Preview on Your Mac
  • password
    How to Generate App-Specific Passwords for Your Apple ID
  • calendar event attachment
    Use Event Attachments in Apple Calendar to Prepare for the Big Meeting
  • mac images
    How to Copy and Save Images from Safari on the Mac
  • external hard drives
    macOS: How to Browse Other Backup Disks With Time Machine
  • homepod windows airplay
    How to Stream Audio From Windows to HomePod
  • word split view mac
    Write and Edit Like a Pro with Split View in Microsoft Word for Mac

Tips

  • Apps
  • Gaming
  • Mac
  • Mobile
  • Online
  • Windows
  • photoshop load as layers
    How to Open Multiple Images as Layers in a Single Photoshop Document
  • iphone youtube dark theme
    How to Use the New Dark Theme in YouTube for iOS
  • typing keyboard
    How to Paste Text Only By Default in Microsoft Word
  • hide mac app store purchases
    How to View and Manage Your iTunes and App Store Subscriptions
  • How to Manually Dim the Xbox One Screen
  • xbox one store games
    How to Browse Games by Genre in the Xbox One Store
  • classic solitaire windows xp
    How to Play Classic Windows XP Solitaire in Windows 10
  • ipad controller game
    How to Set Up and Game With an iOS Controller on Your iPhone or iPad
  • microsoft word for mac
    How to Change the Default Font in Microsoft Word for Mac
  • mac printer
    Here Are Two Ways to Print Multiple Files at Once in macOS
  • Samsung 64bit Smartphone
    64-bit Mode: How to Prevent 32-bit Apps From Running on Your Mac
  • app is not optimized for your mac
    32-bit Apps: What to Do If an App ‘is Not Optimized for Your Mac’
  • iphone control center 3d touch
    How to See Additional Options in Control Center on the iPhone
  • iphone serial number imei
    How to Find Your iPhone Serial Number, UDID, and IMEI
  • ios 12 search lyrics apple music
    iOS 12 Lets You Search by Lyrics in Apple Music
  • tablet bright light
    How to Disable Auto-Brightness on the iPhone and iPad
  • google docs macbook
    How to See What’s Taking up All of Your Google Storage Space
  • google docs macbook
    How to Clear Formatting in Google Docs
  • block notification firefox
    How to Block Website Notifications in Firefox
  • Gmail Tabbed Inbox Update
    Email Tip: How to Block Senders in Gmail
  • computer power button
    Prevent Unexpected Shutdowns: Change What the Power Buttons Do in Windows 10
  • dog reading computer
    How to Use Reading View in Microsoft Edge for Windows 10
  • currency converter windows
    Quick Tip: Use the Calculator App as a Currency Converter in Windows 10
  • these files might be harmful to your computer
    How to Disable the ‘These Files Might Be Harmful to Your Computer’ Warning
Company
  • About TekRevue
  • Get in Touch
  • Sponsorships

Sign Up for the TekRevue Weekly Digest

© TekRevue LLC. All Rights Reserved.

  • TekRevue User Agreement
  • TekRevue Privacy Policy

Built by Blazer Six