XML C14N

Canonicalize XML with Inclusive C14N 1.0 (optional comments) and show byte length plus SHA-256.

All processing on this page runs locally in your browser unless noted otherwise.

Practical Inclusive C14N subset for debugging. Server implementations may still differ in edge cases.

Input XML

Output

How to use

  1. Paste the XML you need to normalize before signing.
  2. Choose C14N or C14N-WithComments, then run.
  3. Compare byte length / SHA-256 with your peer, or copy the canonical text.

FAQ

Is this exclusive C14N?

Yes — choose Exclusive modes in the dropdown. Inclusive modes remain available.

Is C14N local?

Yes. Canonicalization and hashing stay in the browser.

Related tools