How to copy text from a website that doesn't allow copying

To copy text from a site that blocks copying, open the page in Chrome's Reading mode, print it to PDF, or view the page source with Ctrl+U and copy from there. You can also turn off JavaScript for the site in Chrome's site settings and reload. The fastest way is an allow-copy extension such as Highlight and Copy Protected Text: switch it on, then select and copy.

Add to Chrome

Free to try 52 languages

Why some text cannot be copied

Websites block copying in a few standard ways: a style rule that turns off selection, a script that cancels Ctrl+C and the right-click menu, or a transparent layer over the text. How websites block copying explains each one. Most of them only work while the page's scripts and styles are active, which is why the methods below work.

1. Chrome Reading mode

Right-click an empty area of the page and choose Open in reading mode (or open the side panel and pick Reading mode). Chrome shows the article text in the side panel, without the page's scripts. Select and copy it there.

Works for: articles, blog posts, documentation. May miss: tables, comments, menus.

2. Print to PDF

Press Ctrl + P (Cmd + P), choose Save as PDF as the printer, save, and open the PDF. Most PDF viewers let you select and copy the text.

Works for: almost any page that can be printed. Some sites hide content when printing.

3. View the page source

Press Ctrl + U (Cmd + Option + U on a Mac). A new tab shows the page's HTML. Press Ctrl + F, search for a few words of the text and copy them. The text sits between HTML tags, so you may need to clean it up.

Works for: text that is part of the page from the start. Does not work when the text is loaded later by scripts.

4. Turn off JavaScript for the site

  1. Click the icon to the left of the address → Site settings.
  2. Set JavaScript to Block.
  3. Reload the page and copy the text.
  4. Set JavaScript back to Allow (or Default) when you are done.

Works for: script-based blocks. Does not work for style-based blocks or sites that need JavaScript to show content.

5. Developer tools

Right-click (or press F12) → Inspect. In the Elements panel, find the paragraph, right-click it → Copy → Copy element or edit it as HTML and copy the text. Precise, but slow for long texts.

6. An allow-copy extension

Highlight and Copy Protected Text switches off selection and copy blocks and restores the right-click menu on the page, with one toggle. Then you select and copy normally, keeping the page's layout. It is the quickest option if you hit protected pages often.

When none of this works

  • The text is an image. Use Image Text to Text to recognise it.
  • The content is behind a login, paywall or DRM — no method here unlocks content you cannot already read, and none should.

Frequently asked questions

Why can't I copy text from some websites?

The site disables selection with a style rule, cancels the copy event with a script, or covers the text with an invisible layer. Some sites show text as an image instead of text.

What is the easiest way to copy protected text?

An allow-copy extension: one toggle and you can select and copy as usual. Without installing anything, Reading mode and printing to PDF work on most pages.

Does disabling JavaScript always work?

It removes script-based blocks, but some sites need JavaScript to show their content at all, and style-based blocks remain. Remember to turn JavaScript back on.

How do I copy text from an image?

Text in an image cannot be selected. Use a text recognition tool such as Image Text to Text, which turns an image or a screenshot area into editable text.

Is it legal?

Getting the text into your own clipboard is generally fine for personal use, study and quotations. Republishing someone else's content can infringe copyright regardless of how you copied it.

Updated: