# How to convert fastq files to gz

**URL:** <https://help.galaxyproject.org/t/how-to-convert-fastq-files-to-gz/9467>\
**Category:** usegalaxy.org support\
**Tags:** fastqsanger, datatype\
**Created:** [February 15, 2023, 5:00pm UTC](https://help.galaxyproject.org/t/how-to-convert-fastq-files-to-gz/9467 "2023-02-15T17:00:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbarrios](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@bbarrios](https://help.galaxyproject.org/u/bbarrios)\
**Post date:** [February 15, 2023, 5:00pm UTC](https://help.galaxyproject.org/t/how-to-convert-fastq-files-to-gz/9467/1 "2023-02-15T17:00:51Z")

</div>

Hi!  
I downloaded my 16S files in fastq format and I’m interested in convert this files to fastq.gz files. How do I do that?  
I’m leaning how to analyze 16S data.  
Thanks lot

---

<div class="post-metadata">

**Author:** ![igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@igor](https://help.galaxyproject.org/u/igor)\
**Post date:** [February 16, 2023, 8:46am UTC](https://help.galaxyproject.org/t/how-to-convert-fastq-files-to-gz/9467/2 "2023-02-16T08:46:56Z")

</div>

Hi @bbarrios  
try Edit Attributes (pencil icon) \> in the middle window switch to Convert tab \> in pull down menu select an appropriate option (fastqsanger.gz).  
This is assuming you use data with Phred 33 encoding and Galaxy assigned fastasanger datatype to FASTQ files after upload.  
Kind regards,  
Igor

---

<div class="post-metadata">

**Author:** ![bbarrios](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@bbarrios](https://help.galaxyproject.org/u/bbarrios)\
**Post date:** [February 16, 2023, 6:12pm UTC](https://help.galaxyproject.org/t/how-to-convert-fastq-files-to-gz/9467/3 "2023-02-16T18:12:56Z")

</div>

Thanks a lot Igor
