Local Merkle Proof Workbench

Build an ordered SHA-256 Merkle tree from local files, or verify a file’s inclusion against a separately supplied root.

On-device No sign-up Free to use

Build or verify proof controls

?

Enter the 64-character lowercase root you obtained separately. A root read only from the proof file is not an independent reference.

?

Building reads ordered files and returns a root, a portable tree and a proof for your selected file index. Verifying checks a proof against the exact file and separately supplied root.

?

Zero is the first file, one the second. The proof uses the current ordered list; moving a file changes its index.

Drop your files here

or choose them from your device

Up to 128 files, 10 MB each and 20 MB in total. Order matters: the list order is the tree order, so keep it fixed across builds.

    Drop your file here

    or choose one from your device

    A proof JSON saved by the build step, holding the tree size, the selected index, the sibling path and the root.

      Drop your file here

      or choose one from your device

      The exact local file whose inclusion the proof claims to show. Its bytes are hashed in the same way the tree hashed them.

        Processed in your browser. Your inputs stay on this device.

        Showing an example. Change the fields, then use build or verify proof to update it.

        Result

        Showing an example.

        Build a tree from first.txt, second.txt and third.txt in that order.

        Built an RFC 6962 Merkle root over 3 files. Root c3651e541714c53d...
        0 | first.txt | a1af030231ca2fd20ecf30c5294baf8f69321d09bb16ac53885ccd17a385280d
        1 | second.txt | a94dd4d3c2c6d2548ca4e560d72727bab5d795500191f5b85579130dd3b14603
        2 | third.txt | 656d3e8f544238cdf6e32d640f51ba0914959b14edd7a52d0b8b99ab4c8ac6c6

        Loading the tool. Your result will appear here.

        https://usefreetools.net/local-merkle-proof-workbench · 20 November 2026

        Was this helpful?

        How to use Local Merkle Proof Workbench

        1. To build, choose Build a tree and a proof from local files and select the ordered file collection. The tree follows the file order shown in its result.
        2. Set the file index for the proof, starting at 0 for the first file, and run Build or verify proof. Save the root, tree JSON, inclusion proof and leaf CSV.
        3. To verify later, choose Verify a proof against a supplied root. Select the saved proof JSON and the exact file whose inclusion it describes.
        4. Enter the lowercase SHA-256 root obtained separately, then run the check. Compare file, index, tree size and rebuilt root; trusting a root is a separate decision.

        Example: Local Merkle Proof Workbench

        Build a tree from first.txt, second.txt and third.txt in that order.

        You add
        What to do: build Ordered local files (building): first.txt contains "first"; second.txt contains "second"; third.txt contains "third"
        You get
        Built an RFC 6962 Merkle root over 3 files. Root c3651e541714c53d... 0 | first.txt | a1af030231ca2fd20ecf30c5294baf8f69321d09bb16ac53885ccd17a385280d 1 | second.txt | a94dd4d3c2c6d2548ca4e560d72727bab5d795500191f5b85579130dd3b14603 2 | third.txt | 656d3e8f544238cdf6e32d640f51ba0914959b14edd7a52d0b8b99ab4c8ac6c6

        Options

        Expected SHA-256 root (verifying)
        Enter the 64-character lowercase root you obtained separately. A root read only from the proof file is not an independent reference.
        What to do
        Building reads ordered files and returns a root, a portable tree and a proof for your selected file index. Verifying checks a proof against the exact file and separately supplied root.
        File index for the inclusion proof (building)
        Zero is the first file, one the second. The proof uses the current ordered list; moving a file changes its index.
        Ordered local files (building)
        Up to 128 files, 10 MB each and 20 MB in total. Order matters: the list order is the tree order, so keep it fixed across builds.
        Proof JSON (verifying)
        A proof JSON saved by the build step, holding the tree size, the selected index, the sibling path and the root.
        Exact selected file (verifying)
        The exact local file whose inclusion the proof claims to show. Its bytes are hashed in the same way the tree hashed them.

        Supported inputs and limits

        • Build from 1–128 local files, at most 10 MiB each and 20 MiB combined.
        • Verification uses one exact file up to 10 MiB, one supported proof JSON up to 2 MiB and a separately supplied lowercase SHA-256 root.
        • This tool uses RFC 6962-style leaf/node domain separation and ordered splitting, without a Certificate Transparency service, blockchain, signature or trusted timestamp.
        • JSON/CSV downloads contain tree/proof records, not original file contents.
        • There is no pasted-leaf input or automatic trust in the proof’s stored root.

        Where your input is processed

        This tool does not upload your inputs. See the limits for anything saved on your device.

        A proof relates bytes to a particular root

        The domain-separated tree hashes leaves and parent nodes differently and preserves file order. A successful inclusion check connects the selected file bytes and position to the supplied tree root. You still need an independent reason to trust that root; the proof does not identify a publisher or supply a trusted timestamp.

        Questions about Local Merkle Proof Workbench

        What does inclusion prove?

        That the exact selected bytes occupy the claimed position in the tree described by the supplied root.

        Is a tree root trusted automatically?

        No. Obtain or confirm it through an independent trusted channel.

        Can files be reordered?

        Order affects the tree. Rebuild the tree and proofs when the intended order changes.

        Page updated · Project managed by Tony Hines · Report a problem with Local Merkle Proof Workbench