Convertful
ImagePDFVideoAudioDocumentSEODeveloperUtilityGuides

Image Tools

  • Compress Image
  • Resize Image
  • Remove Background
  • HEIC to JPG
  • All Image Tools →

PDF Tools

  • Compress PDF
  • Merge PDFs
  • Split PDF
  • PDF to Images
  • All PDF Tools →

Video & Audio

  • MOV to MP4
  • FLAC to MP3
  • Video to GIF
  • All Video Tools →
  • All Audio Tools →

Developer

  • JSON Formatter
  • JWT Decoder
  • Regex Tester
  • SQL Formatter
  • All Developer Tools →

Document & SEO

  • Excel to JSON
  • JSON to Excel
  • All Document Tools →
  • SERP Snippet Preview
  • Robots.txt Generator
  • All SEO Tools →

Utility

  • QR Code Generator
  • Word Counter
  • Color Converter
  • Text Diff
  • All Utility Tools →
All processing happens in your browser. Your files never leave your device.
AboutGuidesTermsPrivacyContact
© 2026 Convertful. All rights reserved.
HomeDeveloperXPath Tester

XPath Tester

Test XPath queries against XML or HTML locally. Free, private, runs in your browser.

100% private — your files and text never leave your browser. All processing happens locally on your device.

XPath Query

Paste markup and enter an XPath expression to see matches.

You might also need

JSONPath TesterTest JSONPath expressions safely in browser
XML FormatterFormat or minify XML safely in your browser
HTML FormatterFormat HTML source without rendering it
JSON Schema ValidatorValidate JSON data against local schemas

Query XML And HTML Locally

XPath Tester parses pasted XML or HTML in the browser and evaluates expressions with the native XPath engine. It is useful for checking namespace queries, attribute selectors, text-node matches, and extraction rules before putting them into code.

Namespace Mapping Without Fetching

Add prefix-to-URI mappings directly in the tool when XML uses namespaces. DOMParser treats the document as local source text; external entities, remote doctypes, and linked resources are not loaded.

Capped Results For Large Documents

Wildcard and descendant queries can match a lot of nodes. Convertful caps the result set, shows node previews as source text, and lets you copy or download the output and report.

FAQ

Does XPath Tester fetch external entities?

No. XML or HTML is parsed in your browser from pasted or uploaded text. External entities, doctypes, and remote resources are not fetched.

Can I use XML namespaces?

Yes. Add namespace mappings such as `bk=https://example.com/books`, then use the prefix in the XPath expression.

What result types are supported?

You can return matching nodes, string values, numbers, or booleans. Node output includes attributes, text nodes, and serialized element previews.

Are results capped?

Yes. Set a cap up to 500 matches so wildcard or broad descendant queries do not freeze the browser.

Is my XML uploaded?

No. The document and XPath expression stay in the current browser tab.