CSS to XPath converter / playground
The converter uses an extended set of CSS selectors that allows generate more elaborate XPathes.
Also, it implements non-standard class attribute behavior which has more practical uses than standard one.
You can also test the validity of XPath/CSS selector and what elements they are actually selecting.
XPath version 1.0.
Letter editors
HTML editor
Examples
[1] The CSS selector is not valid in browsers.
[2] See https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors about case-insensitive 'i' (or 'I') modifier.
[3] (XPath) For using with non-English languages, require filling 'Letter editors' with necessary alphabet (it's added to the default Latin alphabet).