How to Copy Text From a Website That Blocks Copying
By Khushi Yadav
To copy text from a website that blocks copying, try these in order: open the page in reader mode, disable JavaScript for the tab and reload, read the text in the page source (Ctrl+U), copy it from DevTools, print the page to PDF, or, if the text is really an image, use OCR. One of the first three works on most ordinary articles and documentation pages.
These methods are for quoting, citing and note-taking. Copying a short passage with a link back is normal research; republishing someone's whole article is not, and some sites' terms forbid it. Don't use these techniques on exam, proctoring or DRM software, where copy blocking is a deliberate security control.
Why the site won't let you copy
Copy blocking almost always uses one of three techniques, and each method below defeats a different one:
| Block | What you see | Methods that usually work |
|---|---|---|
CSS user-select: none | Text won't highlight at all | Reader mode, page source, DevTools, print to PDF |
| JavaScript event handlers | Right-click does nothing, or Ctrl+C copies nothing or adds extra text | Disable JavaScript, reader mode, page source |
| Transparent overlay or image | Clicks land on an invisible layer, or the text isn't text | DevTools, page source, or OCR for images |
A script that handles the copy event can cancel the copy or replace what goes onto the clipboard. That's also how some sites append "Read more at…" to whatever you copy.
1. Open the page in reader mode
Reader mode rebuilds the article as a plain page, without the site's scripts and styles, so the text becomes selectable.
- Microsoft Edge: press F9, or select Enter Immersive Reader in the address bar. If the icon isn't there, select some text, right-click and choose Open in Immersive Reader.
- Firefox: select the Reader View icon in the address bar. Firefox only shows it on pages it recognises as articles.
Select the text in reader mode and press Ctrl+C. Reader mode isn't offered on app-like pages, feeds or most paywalled layouts; move on to method 2.
2. Disable JavaScript for the tab, then reload
Most right-click and copy blocks are scripts. Turn them off and the page usually behaves normally.
In Chrome or Edge, for one tab only:
- Press F12 to open DevTools.
- Press Ctrl+Shift+P to open the Command Menu.
- Type
javascriptand choose Disable JavaScript (Edge labels it Disable JavaScript [Debugger]). - Keep DevTools open and press F5 to reload, then select and copy as usual.
JavaScript stays off only while DevTools is open in that tab. Close DevTools to turn it back on. To block JavaScript permanently for one site in Chrome, select View site information to the left of the address, open Site settings, and change JavaScript to Block.
If the page goes blank, it needs scripts to load its text at all. Try method 3 or 4 instead.
3. Read the text in the page source
Press Ctrl+U in Chrome or Edge to open the page's HTML source in a new tab. CSS and scripts don't apply there, so everything is selectable. Press Ctrl+F, search for a phrase from the paragraph you want, and copy it.
The source shows HTML tags around the text. For a sentence or two that's fine; for longer passages, method 4 gives cleaner text. If your phrase isn't in the source, the site loads its text with JavaScript after the page opens, so use method 4. The source is also where you find the addresses of a page's files, such as the site's favicon.
4. Copy it from DevTools
DevTools shows the page as it is right now, including text loaded by scripts.
- Right-click the blocked paragraph and choose Inspect. If right-click is blocked, press Ctrl+Shift+C and click the paragraph.
- In the Elements panel, find the highlighted element that contains your text.
- Double-click the text inside the element to edit it, press Ctrl+A to select it, then Ctrl+C. Press Esc to leave without changing anything.
This also works when an invisible overlay sits on top of the text. Browser DevTools copy options covers the other copy commands in the Elements panel.
5. Print the page to PDF
Press Ctrl+P, choose Save as PDF (or Microsoft Print to PDF), save the file and open it. Text in the PDF can be selected normally, because the page's scripts and selection rules don't come along.
PDFs often add hard line breaks at the end of every line. How to copy from a PDF without broken line breaks shows how to clean them up. Some sites hide content from printing, in which case this method returns a blank or partial page.
6. Use OCR when the text is an image
If none of the above finds the text, it's probably an image, a canvas drawing or part of a video. Copy it with text recognition instead:
- Snipping Tool: press Win+Shift+S, capture the area, open the capture in Snipping Tool and use Text actions to copy the recognised text.
- PowerToys Text Extractor: press Win+Shift+T (the default), drag over the text, and it goes straight to your clipboard.
OCR makes mistakes with small fonts and unusual characters, so proofread the result. How to copy text out of an image on Windows covers both tools in detail.
Should you install a "copy enabler" extension?
Browser extensions that re-enable right-click and text selection exist for Chrome, Edge and Firefox, and they work by running their own scripts on every page you visit. To do that, they usually ask for permission to read and change data on the sites you visit, which is the same access a malicious extension would want. If you use one, pick an extension with a clear publisher and recent updates, and turn it on only for the site you need. Methods 1 to 4 do the same job with nothing to install.
After you've copied the text
Text from blocked pages often arrives with odd spacing, leftover formatting or an appended "Read more" line. Paste it into Notepad first, tidy it, and copy it again. To skip the formatting entirely, see how to paste without formatting on Windows, and for everyday pages that copy fine but bring clutter along, see how to copy plain text from a website.
If the site blocks pasting into a form field rather than copying from the page, that's a different problem: why paste fails in password fields explains it.
FAQ
Why does Ctrl+C copy nothing on some websites?
A script on the page is cancelling the copy event, or the text can't be selected because of a CSS rule. Disabling JavaScript (method 2) fixes the first; reader mode or DevTools fixes the second.
Is it legal to copy text from a website?
Copying blocks don't change copyright. Quoting a short passage with attribution is common practice, but republishing content may break the site's terms or copyright law. When in doubt, quote briefly and link to the source.
Related reading
- How to Copy Plain Text From a Website
- How to Copy Text From an Image on Windows 11
- Browser DevTools Copy Options: Copy as cURL and Beyond
- How to Copy a Link to Highlighted Text in Chrome and Edge
Sources
- Use Immersive Reader and reading mode in Microsoft Edge (Microsoft Support) — F9, address bar button, Open in Immersive Reader.
- Disable JavaScript (Chrome DevTools) — Command Menu steps and scope.
- Disable JavaScript (Microsoft Edge DevTools) — Edge command name.
- Change site settings permissions (Google Chrome Help) — per-site JavaScript setting.
- Chrome keyboard shortcuts (Google Chrome Help) — Ctrl+U, Ctrl+P, F12.
- Open Chrome DevTools — Inspect and Ctrl+Shift+C.
- Get started with viewing and changing the DOM (Chrome DevTools) — double-click a node's content to edit it.
- user-select (MDN) and copy event (MDN) — how pages block selection and change copied text.
- PowerToys Text Extractor (Microsoft Learn) — Win+Shift+T OCR to the clipboard.
Khushi Yadav writes Edge Drop's workflow and design guides and is a B.Tech Computer Science Engineering student. Khushi's posts are checked against Microsoft's documentation and the Edge Drop fact sheet.
GitHub · LinkedInCopy. Stack. Drop.
Transform your clipboard into an interactive edge shelf. Stack, pin, and drag assets into any app with zero friction.
Download for Windows Get from Microsoft Store
How to Install Guide · First 10 Minutes Guide · Drag & Drop Guide · Edge Drop vs Win+V · Support
Free · Lightweight · Privacy First