logo
search
Data Import & Export

How to Fix Web Data That Will Not Paste into Excel

Elise WilliamsElise Williams Oct 7, 2026 873 views

Question details

Users are unable to successfully paste numbers or tabular data copied from a webpage into an Excel worksheet.

How to Fix Web Data That Will Not Paste into an Excel Worksheet
Product
Microsoft Excel
Device & OS
not provided
Scenario
Attempting to copy data from various web sources (HTML tables, delimited text, JavaScript-generated elements, or images) and paste it into spreadsheet cells.
Observed behavior
The copied numbers or data appear in the Excel message bar or formula bar but fail to insert correctly into the worksheet cells.
Before you start

Inspect the webpage to identify how the data is formatted—whether it is a standard HTML table, an image, JavaScript-generated, or raw delimited text—as this determines the correct pasting method.

Solution 1Recommended

Use Paste Special or a Plain-Text Editor

Stripping hidden web formatting prevents structural conflicts and allows normal pasting into Excel.

Webpages often carry hidden CSS styling or HTML tags that conflict with Excel's cell formatting. By pasting the content as plain text, you force Excel to accept only the raw data.

1
Copy the web data

Highlight the required data or numbers on the webpage and press Ctrl+C to copy.

2
Use Paste Special in Excel

Open your Excel worksheet, right-click the destination cell, select 'Paste Special', and choose 'Text' to paste without web formatting.

3
Alternative: Use Notepad

If Paste Special fails, paste the web data into a plain-text editor like Notepad first. Copy it again from Notepad, then paste it directly into your Excel worksheet.

Use Paste Special or a Plain-Text Editor
Formatting Cleared: Using a plain-text editor guarantees that all invisible web scripts and layout tags are completely removed before the data reaches Excel.

Easily Import Web Data with WPS Spreadsheet

WPS Office simplifies the process of importing online data. Whether you need to paste unformatted text, split delimited values, or extract tables directly from screen captures, WPS Spreadsheet handles it efficiently.

  1. 1. Open WPS Spreadsheet: Launch WPS Office and open a new or existing spreadsheet document.
  2. 2. Paste Unformatted Text: Copy your web data, right-click the target cell in WPS Spreadsheet, select 'Paste Special', and choose 'Unformatted Text'.
  3. 3. Extract Text from Images: For image-based web data, navigate to the 'Tools' tab and select 'Picture to Text' to instantly convert screenshots into editable cells.
Easily strip complex web formatting using Paste SpecialExtract tables directly from images using the built-in Picture to Text toolHighly compatible with all Microsoft Excel formats (.xlsx, .xls)Free, lightweight, and features an intuitive user interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does copied web data appear only in the Excel formula bar?

This happens when the destination cell is actively in 'Edit Mode' (your cursor is blinking inside the cell). To fix this, press Enter to exit edit mode, select the cell with a single click, and then paste.

How do I import a full HTML table from a website into Excel automatically?

Instead of manual copying, go to the 'Data' tab, select 'Get Data' > 'From Other Sources' > 'From Web', and enter the webpage URL to let Excel pull the table directly.

What should I do if the copied web numbers contain extra spaces and won't calculate?

Web pages often use non-breaking spaces that Excel cannot read as normal spaces. Use the Excel TRIM function or the Find and Replace tool (Ctrl+H) to replace these invisible characters with nothing, converting the text back into readable numbers.