Replace XML Keys
Replace XML keys (element and attribute names) that match a pattern with new keys — across the whole document in one go.
Input
Output
About Replace XML Keys
Replace XML Keys renames element and attribute names that match a search pattern across an entire document. Use exact text or regular expressions; structure, attributes and values stay untouched.
Features
How to Use
Examples
Renaming "product" to "item" renames every element 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.