XPath Evaluator

Evaluate XPath expressions against XML input.

In: xml, xpathOut: xml, textTask: query

XPath Evaluator

Evaluate simple XPath expressions against XML input.

Shareable input links
You can prefill this tool by adding ?input=... to the URL. Tip: URL-encode JSON/text values before sharing.

Evaluation Input

Provide xml and xpath in a JSON envelope.

XPath Result

Matched nodes or scalar values as JSON.

Workspace actions

This evaluator supports a practical XPath subset for fast data inspection.

Split editor

Example input and output

Example XML, XPATH
{
  "xml": "<users><user><name>Ada</name></user><user><name>Linus</name></user></users>",
  "xpath": "//name"
}
Example XML, TEXT
[
  "Ada",
  "Linus"
]

Related tools

CSV Validator

csv-tools

Validate CSV syntax and structure — checks column consistency, unclosed quotes, and empty headers.

In: csvOut: text

JSON Escape

json-tools

Escape JSON into a quoted string literal for embedding.

In: json, textOut: text

JSON Unescape

json-tools

Unescape a quoted JSON string back into readable JSON or plain text.

In: textOut: json, text

JSON Query Tool (jq-like)

json-tools

Run jq-like query expressions to extract or transform JSON data.

In: json, queryOut: json, text

JSON to XML Converter

json-tools

Convert a JSON object or array into well-formed XML with a root element.

In: jsonOut: xml

XML to JSON Converter

xml-tools

Parse XML and convert it to a JSON object, preserving attributes and nested elements.

In: xmlOut: json

CSV to XML Converter

csv-tools

Convert CSV rows into XML records. Each row becomes a record element inside a records root.

In: csvOut: xml

XML to CSV Converter

xml-tools

Convert a structured XML document with repeating record elements into CSV rows.

In: xmlOut: csv

YAML Validator

yaml-tools

Validate YAML syntax and report the parsed type and top-level keys on success.

In: yamlOut: text

XML Validator

xml-tools

Check XML well-formedness and report the root element and any parse errors with line numbers.

In: xmlOut: text

XML Formatter

xml-tools

Pretty-print XML with consistent 2-space indentation for improved readability.

In: xmlOut: xml

XML Minifier

xml-tools

Minify XML by removing whitespace and indentation.

In: xmlOut: xml

XML to YAML Converter

xml-tools

Convert XML structures into readable YAML output.

In: xmlOut: yaml

YAML to XML Converter

yaml-tools

Convert YAML content into XML format.

In: yamlOut: xml

JSON Pointer Evaluator

json-tools

Evaluate RFC 6901 JSON Pointer expressions against JSON input.

In: json, json-pointerOut: json, text

XML Diff Tool

xml-tools

Compare two XML documents and highlight structural differences.

In: xmlOut: text

XQuery Tool (Practical Subset)

xml-tools

Run a clearly labeled practical XQuery subset for XML exploration: direct XPath, simple for/let expressions, count(), and string().

In: xml, xqueryOut: json

XML Schema Validator (XSD)

xml-tools

Validate XML against a provided XSD schema.

In: xml, xsdOut: text

XML Namespace Cleaner

xml-tools

Normalize or strip XML namespaces for downstream compatibility.

In: xmlOut: xml

YAML Diff Tool

yaml-tools

Compare two YAML documents and report differences.

In: yamlOut: text

YAML Linter

yaml-tools

Lint YAML style and structure with stricter quality rules.

In: yamlOut: text

YAML Path Evaluator

yaml-tools

Evaluate path expressions against YAML input.

In: yaml, pathOut: yaml, text

YAML Query Tool

yaml-tools

Run query expressions to extract or transform YAML data.

In: yaml, queryOut: yaml, text

JSON Linter

json-tools

Lint JSON syntax and style with stricter practical checks.

In: jsonOut: text

YAML Schema Validator

yaml-tools

Validate YAML content against a JSON Schema.

In: yaml, json-schemaOut: text

XML Escape

xml-tools

Escape XML special characters for safe embedding.

In: text, xmlOut: text

XML Unescape

xml-tools

Decode escaped XML entities back to plain characters.

In: textOut: text, xml

XML Splitter

xml-tools

Split repeated XML child elements into chunked XML documents.

In: xmlOut: xml

XML Schema Generator (XSD from XML)

xml-tools

Generate a starter XSD schema from XML structure.

In: xmlOut: xsd

XML Merger

xml-tools

Merge two XML documents into one combined output.

In: xmlOut: xml

XML to SQL Converter

xml-tools

Convert record-like XML data into SQL INSERT statements.

In: xmlOut: sql

XML to HTML Converter

xml-tools

Render XML as a structured HTML document for browser-friendly viewing.

In: xmlOut: html

XML Sort Elements

xml-tools

Sort XML element structures for deterministic ordering.

In: xmlOut: xml

XML Flatten

xml-tools

Flatten nested XML into a path-based key representation.

In: xmlOut: json

Format Detection Tool

json-tools

Auto-detect whether input is JSON, XML, YAML, CSV, or plain text.

In: textOut: json

API Response Formatter

json-tools

Detect, pretty-format, and analyze API responses into a JSON report with HTTP metadata and formatted payload previews.

In: textOut: json

File Comparison Suite

json-tools

Compare JSON, XML, YAML, CSV, text, or SQL payloads from one unified entry point.

In: textOut: text

Unified Query Tool

json-tools

Run JSONPath, XPath, XQuery-subset, YAMLPath, and JSONata queries through one tool.

In: textOut: text, json

Universal Converter

json-tools

Auto-detect sources and convert across supported JSON, XML, YAML, CSV, and Excel pairs, including structured JSON input and Excel base64 envelopes.

In: textOut: json, xml, yaml, csv, xlsx

Data Generator

json-tools

Generate deterministic mock records for JSON/CSV/XML/YAML testing.

In: jsonOut: json, csv, xml, yaml

Scroll horizontally to view all related tools.

Reverse tools

No reverse tool detected for this format pair

Next steps

No mapped next steps yet

Included in workflows

XPath to JSON Extraction

Evaluate XPath paths in XML payloads and convert selected structures to JSON for analysis.

Intermediate~3 min
Open workflow

XML Query Parity Check

Run XPath and XQuery-subset checks, then compare outputs to confirm extraction parity.

Intermediate~3 min
Open workflow

XPath Quick Extract and Format

Run an XPath extraction and format the JSON result for readable review.

Beginner~2 min
Open workflow

FAQ