Advanced controls

CopyButton for Developers: CSS Selectors, XPath and Regex

Technical users can directly control element targeting and text extraction without changing the target website.

CSS selectors

Target elements using IDs, classes, attributes and relationships. Prefer stable semantic attributes.

XPath

Describe a target by document position, text relationship or nearby labels.

Regular expressions

Extract the specific substring you need, such as the numeric part of an order label.

Templates

Combine extracted values with fixed labels or formatting for predictable output.

READY WHEN YOU ARE

Make repetitive copying a one-click task.

Install CopyButton, create your first rule, and keep control of every value you copy.

Add CopyButton to Chrome ↗