How to Copy Text From Websites That Don't Allow It

Some websites actively block text selection. You move your mouse to highlight a paragraph, and nothing happens. Right-click is disabled. Keyboard shortcuts do nothing. It's frustrating — especially when you have a legitimate reason to copy the content, like saving a recipe, grabbing a product description, or archiving research.

Understanding why sites block copying — and what actually happens technically — makes it much easier to work around it effectively.

Why Websites Block Text Copying

Most copy restrictions aren't enforced at the server level. They're applied through CSS and JavaScript running in your browser:

  • CSS user-select: none — a single line of CSS that tells the browser not to allow text selection
  • JavaScript event listeners — scripts that intercept mousedown, contextmenu, or keydown events and cancel them before the browser acts
  • Overlay elements — transparent <div> layers placed on top of content, so your click registers on the overlay, not the text beneath

None of these methods actually hide or encrypt the content. The text is still fully loaded in your browser — your browser just has instructions not to let you interact with it normally. That distinction matters, because it means the text is accessible through other means.

Methods That Work in Most Situations

🛠️ Inspect Element (Browser Developer Tools)

Every major browser — Chrome, Firefox, Edge, Safari — includes developer tools. Right-click anywhere on the page and select Inspect (or press F12). In the Elements panel, you can navigate the HTML and find the raw text, then copy it directly from the source code.

This works even when JavaScript has blocked selection on the rendered page, because you're reading the document structure, not interacting with the styled page.

Disable JavaScript Temporarily

Since most copy restrictions run on JavaScript, disabling JS in your browser removes them entirely. In Chrome, you can do this through Settings → Privacy and Security → Site Settings → JavaScript, then toggle it off for the specific site.

Keep in mind: disabling JavaScript breaks most interactive site features — navigation menus, image carousels, login forms. It's a targeted tool, not a permanent setting. Re-enable it after you're done.

View Page Source

Press Ctrl+U (Windows/Linux) or Cmd+Option+U (Mac) on most browsers to open the raw HTML source in a new tab. Copy restrictions don't apply here — it's plain text. You'll need to find your content within the markup, which takes a moment of scanning, but the text is fully selectable.

Browser Extensions

Several browser extensions are designed specifically to re-enable text selection on restricted sites. They work by injecting scripts that remove or override the CSS and JavaScript restrictions.

Key variables to consider:

FactorWhat Changes
BrowserExtension availability varies (Chrome vs Firefox vs Edge)
Extension permissionsSome require access to all sites; others are on-demand
Site complexityHeavy JS frameworks may need more aggressive overrides
Update frequencySites occasionally change restriction methods

Common extension categories include "enable copy" or "allow text select" tools — search your browser's extension store using those terms.

Screenshot + OCR

If the above methods feel too technical, a screenshot combined with optical character recognition (OCR) is a reliable fallback. Tools like Google Lens, Microsoft OneNote's OCR, or dedicated apps like Adobe Acrobat can convert an image of text into selectable, editable text with reasonable accuracy.

Accuracy varies with font size, image quality, and text density — clean, large-print content converts cleanly; decorative fonts or dense columns are less reliable.

Print to PDF

Using the browser's Print function (Ctrl+P / Cmd+P) and selecting Save as PDF often captures the full page text in a searchable PDF format. From there, most PDF readers allow normal text selection and copying. This approach bypasses on-page JavaScript entirely since the browser's print renderer processes the page differently.

⚖️ An Important Note on Legality and Ethics

The fact that text can be copied doesn't always mean it should be. Copyright still applies to web content. Most of these methods are perfectly legitimate for personal use — saving a recipe, archiving your own account data, accessibility purposes, or research. Reproducing content commercially, claiming it as your own, or bulk-scraping content for republication is a different matter entirely.

Some sites block copying specifically to protect paid content or proprietary data. Respecting those restrictions in commercial or publishing contexts is both a legal and ethical consideration worth taking seriously.

The Variables That Determine Which Method Works for You

Not every approach works on every site or every device. What changes the outcome:

  • Your technical comfort level — developer tools are powerful but take a few minutes to learn; print-to-PDF requires no technical knowledge at all
  • Your operating system and browser — extension availability, developer tool layouts, and keyboard shortcuts differ across Chrome, Firefox, Safari, and mobile browsers
  • The site's restriction method — CSS-only restrictions are trivially bypassed; heavy single-page applications with dynamic content loading are more complex
  • Your device type — mobile browsers have limited extension support and no desktop-style developer tools, making some methods impractical on a phone or tablet
  • How much text you need — grabbing one paragraph is different from copying an entire article, which changes whether OCR or source-view is the right fit

The method that makes sense for someone on a desktop Chrome browser grabbing a single paragraph for personal notes is meaningfully different from what works for someone on an iPhone trying to save a full article, or a researcher pulling technical documentation across dozens of pages. Your own setup is the piece that determines which path is actually worth taking. 🔍