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 AllConvert XML to SQL
Generate INSERT SQL queries from an XML file. Repeated records become ...
Convert XML to a Data URI
Turn any XML configuration into a data: URL — base64 or percent-encode...
Edit and View XML
Free browser-based XML editor with a live collapsible tree view. Edit ...
Convert XML to IXML
Convert an XML file to an invisible-XML (IXML) style notation: no angl...
Remove All XML Comments
Delete all comments from an XML file in one click — clean, valid XML w...