CSS Selector Tester
Match CSS selectors against sample HTML.
Reference Guide
QA tool — all processing runs locally in your browser. No data is sent to a server.
Operation: css-selector
Paste input, click Run, and copy the result. For two-input tools, fill both fields before running.
Example Input
<button id="run" class="primary">Run</button>
Example Secondary Input
#run
A sample loads automatically when you open this tool. Use Load Sample to reset it.