When you need data from an image, not a file
Someone sends you a screenshot of a report in Slack. You're looking at a table in a PDF that won't let you select text. A legacy dashboard only exports as an image. A printed financial statement needs to go into a spreadsheet. In all these cases, the data you need is locked inside an image, and retyping it manually is tedious and error-prone.
The process of extracting tabular data from an image is called table OCR (Optical Character Recognition). macOS, Excel, Google tools, and AI assistants all offer ways to do this — each with different tradeoffs between speed, accuracy, and setup effort.
Method 1: Excel "Data from Picture" (built-in, no installs)
Excel for Mac has a dedicated feature that converts screenshots of tables into editable spreadsheet data. It's built into Excel 365 and requires no plugins or add-ons.
From clipboard (fastest)
- Take a screenshot of the table to your clipboard: press Cmd+Ctrl+Shift+4 and select the table area
- Open Excel and go to Insert > Data from Picture > Picture From Clipboard
- Excel analyzes the image and shows a preview of the extracted data
- Review the results — cells highlighted in pink need manual correction
- Click Insert Data when you're satisfied
The clipboard method is the fastest workflow because you never save a file. Screenshot, switch to Excel, insert. Three steps.
From a saved screenshot file
- Open Excel and go to Insert > Data from Picture > Picture From File
- Select the screenshot file from Finder
- Review and correct the extracted data
- Click Insert Data
Tips for best results with Excel Data from Picture
- Crop tightly: capture only the table, not surrounding text, headers, or navigation. Extra content confuses the OCR.
- Use high resolution: Retina Mac screenshots are 2x resolution, which gives excellent OCR accuracy. Don't resize the screenshot before importing.
- Clear borders help: tables with visible gridlines are recognized more accurately than borderless tables.
- Simple formatting wins: plain text in cells works best. Colored backgrounds, icons, or embedded images reduce accuracy.
LazyScreenshots captures tables at full Retina resolution and copies them to your clipboard — ready to paste straight into Excel's Data from Picture feature.
Try LazyScreenshots FreeMethod 2: Google Drive OCR pipeline
Google Drive can extract text from images using built-in OCR. This method is free and works entirely in the browser.
- Upload the screenshot to Google Drive
- Right-click the uploaded image and choose Open with > Google Docs
- Google Docs opens with the image at the top and the extracted text below it
- Copy the extracted table text
- Open Google Sheets and paste the data
Google's OCR does a reasonable job with simple tables, but it extracts raw text without preserving column structure. You may need to use Data > Split text to columns in Google Sheets to separate the data into the right columns. Tab-separated data splits cleanly; space-separated data often needs manual adjustment.
When this method works best
Google Drive OCR is best for simple, well-formatted tables where the text is clear and columns are visually distinct. It struggles with:
- Tables without borders (can't determine column boundaries)
- Multi-line text within cells
- Numbers with special formatting (currencies, percentages, dates)
- Tables with merged or spanning cells
Method 3: Use AI to extract table data (most flexible)
AI vision models like Claude and ChatGPT understand table structure far better than traditional OCR. They can handle messy formatting, infer column boundaries, and output data in ready-to-paste formats.
With Claude
- Take a screenshot of the table (Cmd+Shift+4)
- Open Claude (claude.ai) and attach the screenshot
- Ask: "Extract the data from this table as tab-separated values"
- Copy the output
- Paste into Excel or Google Sheets — tabs automatically map to columns
With ChatGPT
- Take a screenshot and upload it to ChatGPT
- Ask: "Convert this table to CSV format"
- Copy the CSV output
- In Google Sheets, go to File > Import > Upload and paste the CSV, or paste directly and use Data > Split text to columns
Why AI extraction is often better than OCR
Traditional OCR reads characters. AI vision models understand structure. This means:
- No-border tables: AI infers column alignment from spacing, not gridlines
- Headers and data types: AI distinguishes between headers and data rows, and can format numbers, dates, and currencies correctly
- Merged cells: AI understands spanning cells and can replicate the structure
- Context awareness: AI recognizes that "$1,234" is a number, not a string, and that "Q1 2026" is a date reference
The tradeoff is that AI extraction requires an internet connection and a chat interface. For a single table, it's the most accurate option. For batch processing dozens of screenshots, a dedicated OCR tool is faster.
Method 4: macOS Live Text + manual formatting
macOS Monterey and later include Live Text, which recognizes text in images across the system. You can use it to extract table data without any additional tools.
- Open the screenshot in Preview or Quick Look (select the file and press Space)
- Hover over the text in the image — you'll see the cursor change to a text selection cursor
- Select the table text (click and drag, or use Cmd+A to select all text)
- Press Cmd+C to copy
- Paste into Excel or Google Sheets
Live Text extracts the text content but doesn't preserve table structure. The pasted result is typically a block of text with spaces or line breaks between values. You'll need to manually separate the data into columns using Excel's Text to Columns feature or Google Sheets' Split text to columns.
Make Live Text work better for tables
Select one row at a time instead of the entire table. This gives you a cleaner line of text that's easier to split into columns. It's slower but produces more accurate results than trying to grab everything at once.
Method 5: Apple Numbers with drag and drop
Apple Numbers can sometimes handle pasted image data more gracefully than you'd expect.
- Take a screenshot of the table
- Open the screenshot in Preview
- Use Live Text to select the table content
- Copy and paste into Numbers
- Use Format > Table to clean up the structure
- Export as Excel (File > Export To > Excel) if needed
Numbers is a decent middle ground if you don't have Excel and want something more structured than raw text in Google Sheets.
Method 6: Dedicated table extraction tools
For regular table extraction work — processing invoices, digitizing printed reports, batch-converting dashboard screenshots — dedicated tools are worth the investment.
| Tool | Best for | Price |
|---|---|---|
| ExtractTable | High-volume table extraction with API | Free tier + paid plans |
| Tabula | Tables in PDFs specifically (free, open source) | Free |
| Nanonets | Automated invoice and document processing | Paid |
| Adobe Acrobat | PDF table export to Excel | Paid (subscription) |
These tools shine when accuracy matters at scale. For one-off table extractions, the AI method or Excel's Data from Picture feature is faster and free.
Comparing extraction methods
| Method | Accuracy | Speed | Preserves structure | Cost |
|---|---|---|---|---|
| Excel Data from Picture | High | Fast | Yes | Excel 365 subscription |
| Google Drive OCR | Medium | Medium | Partial | Free |
| AI (Claude / ChatGPT) | Very high | Medium | Yes | Free tier available |
| macOS Live Text | Medium | Fast | No | Free |
| Dedicated tools | Very high | Fast (batch) | Yes | Varies |
Tips for capturing screenshots that extract well
The quality of your screenshot directly determines the accuracy of the extraction. Follow these guidelines for the best results:
Capture at full Retina resolution
Don't resize or compress the screenshot before extracting. Retina Mac screenshots are 2x resolution, giving OCR and AI tools more pixels to work with. A table that looks small on screen is actually captured at high enough resolution for accurate text recognition.
Crop tightly around the table
Include only the table in your screenshot. Surrounding text, navigation bars, watermarks, and page headers confuse extraction tools and reduce accuracy. Use Cmd+Shift+4 to select precisely the table area.
Ensure good contrast
Dark text on a light background extracts best. If you're screenshotting a dark-mode dashboard, consider switching to light mode before capturing. Low-contrast text (gray on white, light blue on white) is the most common cause of OCR errors.
Avoid capturing tables mid-scroll
If the table extends beyond the visible area, take multiple screenshots and extract each section separately, or use a scrolling screenshot tool to capture the entire table in one image. Partial tables with cut-off rows create messy data.
Save as PNG, not JPG
PNG is lossless — every pixel is preserved exactly. JPG compression introduces artifacts around text edges that reduce OCR accuracy. macOS saves screenshots as PNG by default, so this is only a concern if you're converting or compressing the image before extraction.