Convert HL7 v2 to XML

Use this HL7 v2 to XML converter tool by pasting or uploading HL7 v2 in the left box below. Results will appear in the box on the right.

Input (HL7 v2) - Paste your HL7 v2 here

Output (XML) - The converted XML

Converter OptionsXML
XML root node name
Name of the root node to use for the output XML.
XML indent spacing
Number of spaces to use for indenting the XML output. Use 0 to minify.
Tab indent
Use tabs instead of spaces to indent XML

Want to convert XML to HL7 v2 instead? Use the XML to HL7 v2 Converter Tool.

How to use HL7 v2 to XML Conversion Tool

  1. Paste your HL7 v2 input into the left input box and it will automatically convert it into XML.
  2. The XML output is the box to the right.
  3. If there are any errors in the HL7 v2 and the converter isn't able to do the conversion, the error message will appear in the output box letting you know where the error was found in the HL7 v2.
  4. Use the control box to select options that will affect the conversion.
  5. Your HL7 v2 data is secure. ConvertSimple's converter does not send your HL7 v2 data to our servers for conversion, the process is done completely in your web browser. That's what makes ConvertSimple's converter the safest and fastest converter out there.

HL7 v2 Format

Name HL7 v2
Full form name Health Level Seven Version 2
File extension .hl7, .txt
Type of format Healthcare Messaging Format
MIME type text/plain

XML Format

Name XML
Full form name Extensible Markup Language
File extension .xml
Type of format Markup Language
MIME type application/xml, text/xml

Related Tools