---
title: "Extract structured fields from HTML XML and JSON endpoints with Xidel selectors"
description: "Use Xidel to pull targeted values from pages, XML documents, or JSON APIs with CSS selectors, XPath, XQuery, or JSONiq expressions."
verification: "security_reviewed"
source: "https://github.com/benibela/xidel"
author: "Benjamin Eichel and contributors"
publisher_type: "oss"
category:
  - "Data Extraction & Transformation"
framework:
  - "Multi-Framework"
tool_ecosystem:
  github_repo: "benibela/xidel"
  github_stars: 835
---

# Extract structured fields from HTML XML and JSON endpoints with Xidel selectors

Use Xidel to pull targeted values from pages, XML documents, or JSON APIs with CSS selectors, XPath, XQuery, or JSONiq expressions.

## Prerequisites

Xidel CLI

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
Download a dependency-free binary for the target platform from the upstream project or build Xidel from source, then run xidel against local files, URLs, or API endpoints with the appropriate CSS, XPath, XQuery, or JSONiq expression.
```

## Documentation

- http://www.videlibri.de/xidel.html

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/extract-structured-fields-from-html-xml-and-json-endpoints-with-xidel-selectors/)
