Libraries like JSZip allow you to generate and download a zip file entirely in the browser.
Use a notes app or a file manager like the ZArchiver app on Android to create a new file. 2. Create the ZIP File
How to generate text files and download a zip file in Javascript?
Use the command zip Cbaoddq.zip Cbaoddq.txt . 3. Creating a ZIP via Code (For Developers)
Right-click your Cbaoddq.txt file, select Send to , and click Compressed (zipped) folder .