← All SPoG micro-apps

HL7 v2 Escape Sequence Codec

Encodes or decodes HL7 v2 escape sequences and reports bad sequences by position.

Clinical safety notice: Zero real patient data (PHI/PII) may be entered into this browser utility. Use synthetic test payloads only. Local-first deterministic processing; nothing leaves your browser.

How it works

Standard: HL7 v2 escape sequences (field, component, subcomponent, repetition and escape characters)

Formula: \F\ = | \S\ = ^ \T\ = & \R\ = ~ \E\ = \ \.br\ = line break \Xhh..\ = hex bytes

Checks: Unbalanced or unknown escape sequences reported with position; hex sequences must be valid UTF-8

Calculated locally in browser memory; nothing leaves your browser.

Deterministic local-first client-side execution. Provided as-is without warranty.