Explain XML code
Paste XML and Vibe explains its structure: which elements hold which, what each attribute adds, and what & and <![CDATA[ are doing there.
Up to 1,500 characters (about 60 lines). Your code is sent to Unvibe and Anthropic to write the explanation. Don't paste keys or passwords. Common key formats are refused.
Vibe19 lines selected
Press Explain it for the sample, or paste your own code first.
What this XML sample shows
- elements and nesting
- An XML file is one tree: a single root element, here
<catalog>, with every other element inside it, and each opening tag closed in the right order. Tag names are case-sensitive, so<Name>Blue mug</name>stopped the parser withOpening and ending tag mismatch: Name line 7 and name. - attributes
- Attributes add small facts to an element, in quotes inside its opening tag:
id="mug-blue",inStock="true",currency="USD". The XPath query//product[@inStock="true"]/name/text()picked outBlue mug, andstring(/catalog/@updated)read2026-11-05. - escaping and CDATA
<and&have jobs in XML, so in text they're written<and&:Plates & bowls setreads back asPlates & bowls set. A plain&there stopped the parser withxmlParseEntityRef: no name. Inside<![CDATA[ ... ]]>nothing is read as markup, so the description came back as the textFits <b>4 people</b>; dishwasher safe.- schemas
- A schema (.xsd) says which elements may appear, in what order and with what types. Well-formed isn't the same as valid: with the first
<name>removed, the file still parsed, but the schema check saidElement 'price': This element is not expected. Expected is ( name ).A price written12,50failed with'12,50' is not a valid value of the atomic type 'xs:decimal'.
Good to know
- Checked with xmllint, libxml2 2.15.3:
xmllint --noout catalog.xmlfound no errors,--schema catalog.xsdprintedcatalog.xml validates, and XPath counted 2 tags and summed the prices to 60.5. <?xml version="1.0" encoding="UTF-8"?>is the declaration, and it has to come first. With a comment or even one blank line above it, xmllint stopped withXML declaration allowed only at the start of the document.- In the schema,
idhas the typexs:ID, so two products withid="mug-blue"failed with'mug-blue' is not a valid value of the atomic type 'xs:ID': each ID can be used once per file.
Watch out: A comment can't contain two hyphens in a row. With check with xmllint --schema in the comment on line 2, the whole file failed to parse with Double hyphen within comment, before any element was read.
Explain XML code beside your editor
Unvibe is a free app for Mac and Windows. In the app there is no pasting: select code in any app and press Control+U (Ctrl+Alt+U on Windows).
Install on Mac
curl -fsSL https://unvibe.site/install.sh | bashPaste into Terminal. Unvibe isn't notarized by Apple yet, so this is the smooth path.
Or download the .dmg · Intel Mac build · SHA-256 checksums
Opening the .dmg the first time
- Open the .dmg and drag Unvibe to Applications.
- Open it once; macOS says it can't verify it. Click Done.

Real screen, macOS 15 - System Settings › Privacy & Security › Open Anyway. Confirm, then enter your Mac password. The button shows for about an hour after you try to open Unvibe.

Real screen, macOS 15
The Terminal line checks the download against the published SHA-256 and Unvibe's self-signed signature before it installs anything. More help with the first open