> ## Documentation Index
> Fetch the complete documentation index at: https://developers.stellar.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Diff XDRs

> The Diff XDRs tool compares two base-64 encoded XDRs and highlights the differences between them in JSON format.

> [!NOTE]
>
> Learn more about XDR to JSON conversion tools [here](https://developers.stellar.org/docs/learn/fundamentals/data-format/xdr-json.md).

## Accessing the Diff XDRs Tool

To access the [Diff XDRs](https://lab.stellar.org/xdr/diff) page, select "View XDR" from the left-hand navigation menu, then choose the "Diff XDRs" option from the submenu.

![Lab: Diff XDRs page](https://mintcdn.com/stellardevelopmentfoundation/hmWBKBicbGG4DTu6/assets/lab/lab-xdr-diff.png?fit=max\&auto=format\&n=hmWBKBicbGG4DTu6\&q=85\&s=8f8bcc1132e1eb8b3087a6f456998046)

## Comparing XDR Data

On this page, you can compare two base-64 encoded [XDRs](https://developers.stellar.org/docs/learn/fundamentals/data-format/xdr.md) by viewing their JSON difference. Enter the Original XDR in the first input field, followed by the Changed XDR in the second field. Both XDRs must share the same XDR type, which is automatically populated when a valid Original XDR value is entered. If the suggested type appears incorrect, you can select an alternative from the dropdown menu. A search function is available to help locate the appropriate type.

![Lab: XDR type dropdown](https://mintcdn.com/stellardevelopmentfoundation/hmWBKBicbGG4DTu6/assets/lab/lab-xdr-diff-dropdown.png?fit=max\&auto=format\&n=hmWBKBicbGG4DTu6\&q=85\&s=6f5c4796846204031adcbed0f53c755a)

## Understanding the Output

Once both XDR values are entered, a comparison view will display below, highlighting the differences between the two objects. Below each difference, you will find a button to copy the corresponding JSON data.

![Lab: Diff XDRs output](https://mintcdn.com/stellardevelopmentfoundation/hmWBKBicbGG4DTu6/assets/lab/lab-xdr-diff-filled.png?fit=max\&auto=format\&n=hmWBKBicbGG4DTu6\&q=85\&s=dc1d9961b3ea47bc1de035bdc666677a)
