Split-screen file comparison for XML-like and plain text formats

Compare .fxm4, .xml, .formalsource, and plain text files with structure-aware text extraction.

Left file

Load a file, pick a type, and we'll extract readable text before comparing it with the other side.

Reference

sample.fxm4

FXM4

391 B | Uploaded Mon, 08 Jun 2026 00:00:00 GMT

<SECTION>
  <TI>Section 1. Definitions</TI>
  <P>This section defines the core terms and the notice process.</P>
  <P>(1) The agency shall publish the notice within 30 days.</P>
  <TABLE>
    <ROW><CELL>(2)</CELL><CELL>The notice must include the summary and the effective date.</CELL></ROW>
    <ROW><CELL>(4)</CELL><CELL>The summary should remain public.</CELL></ROW>
  </TABLE>
</SECTION>

Right file

Load a file, pick a type, and we'll extract readable text before comparing it with the other side.

Comparison

sample.formalsource

FORMAL_SOURCE

618 B | Uploaded Mon, 08 Jun 2026 00:00:00 GMT

<fc:content xmlns:fc="urn:formalcontent" xmlns:rt="urn:reporting">
  <fc:title>Section 1. Definitions</fc:title>
  <fc:description>This section defines the key terms and the notice process.</fc:description>
  <fc:body>
    <rt:p>(1) The agency must publish the notice within 30 days.</rt:p>
    <rt:table>
      <rt:tr>
        <rt:td>(2)</rt:td>
        <rt:td>The notice must include the summary, the effective date, and contact details.</rt:td>
      </rt:tr>
      <rt:tr>
        <rt:td>(5)</rt:td>
        <rt:td>The summary should remain public.</rt:td>
      </rt:tr>
    </rt:table>
  </fc:body>
</fc:content>
Comparison level
Ready

Metrics dashboard

These scores are heuristic, token-based measurements that help non-technical users understand how closely the files align after normalization.

Matching percentage0%
Similarity score0%
Accuracy score0%
Matched blocks
0
Added blocks
0
Removed blocks
0
Replaced blocks
0
Missing blocks
0

Comparison guidance

Use word-level for pinpoint edits, sentence-level for prose, and block-level for sections and tables.

Word-level

Best for small edits, punctuation changes, and replacement phrases.

Sentence-level

Best for legal or regulatory prose where sentence meaning matters more than exact tokens.

Block-level

Best for sections, table rows, and large content shifts.

No comparison yet

Upload both files, select their types, and click Compare to generate a diff.

JSON export

Use the buttons below to copy, export, or preview the comparison result in a dialog.