from Bio import SeqIO records = SeqIO.parse("THIS_IS_YOUR_INPUT_FILE.fastq", "fastq") count = SeqIO.write(records, "THIS_IS_YOUR_OUTPUT_FILE.fasta", "fasta") print("Converted %i records" % count) Or you can use this site as online fastq to fasta converter by selecting your format...