Use ENV File Formatter without a complicated workflow.
Format .env files with sorted keys, aligned values, cleaned spacing, and preserved comments. This registration is prepared for a browser-side JavaScript UI, so no Python/API processing is required when the UI is implemented.