Replace XML Values
Replace XML values (text content and attribute values) that match a pattern — across the whole document instantly, literally or with regex.
Input
Output
About Replace XML Values
Replace XML Values swaps text content and attribute values that match a search pattern anywhere in a document. Use exact text or regular expressions with full control over scope.
Features
How to Use
Examples
Replacing "USD" with "GBP" updates every currency attribute in the sample.
Benefits
Frequently Asked Questions
Is my XML sent to a server?
No. Everything runs locally in your browser. Your data is never uploaded, stored or logged.
Can I download the result?
Yes — use the Download button below the output area, or Print / Save PDF for a printable copy.
More XML Tools
View AllUse Single Quotes Everywhere
Normalize every XML attribute to single quotes. Double-quoted attribut...
Convert INI to XML
Parse an INI file — sections, key=value entries, comments — and rebuil...
Highlight XML Syntax
Free XML syntax highlighter that tokenises and colorises tags, attribu...
Visualize XML
Turn any XML document into a clean, colorful tree diagram image (SVG)....
Display XML Statistics
Inspect any XML document: element count, attribute count, text nodes, ...