How to use TypeScript String Union Builder
- Paste the input or use the example.
- Adjust any options and run the tool.
- Review, copy or download the result.
Example
draft published archived draft
Capabilities and limits
Up to 10,000 lines. Leading and trailing whitespace and blank lines are removed; duplicates are case-sensitive. Produces a type declaration, not runtime validation. Type names must start with an uppercase letter.
Local processing
The tool processes your pasted input on this device. It does not send that input to a FeuTex processing server. Download your result before closing this page.