DexartTools

Enum To Union Converter

Paste a TypeScript enum and get an equivalent string literal union with switch compatibility notes.

How to use

  1. 1Open the Enum To Union Converter tool page.
  2. 2Enter or paste your input into the provided fields.
  3. 3The tool processes your input instantly in your browser.
  4. 4Copy or download the result using the buttons provided.

Privacy & limitations

  • Processing happens locally in your browser — nothing is uploaded.
  • Works on modern desktop and mobile browsers.
  • Very large inputs may take a moment; the interface will show progress.

Support

Found a bug or want an improvement? We read every report.

Report a problem