Convert a fasta file to Newick format
The best would be Biopython using AlignIO, given they are all in a single file otherise SeqIO. The alignment approach,
from Bio import AlignIO
align = AlignIO.read(&quot;/home/path/myseq.fa&quot;, &quot;fasta&quot;)
print(align)
with open(&quot;/home/path/example.nex&quot;, &quot;w&quot;) as handle:
    SeqIO.write(align, handle, &quot;nexus&quot;)

(not debugged)
MEGAX or ClustalX which are nice GUI's that will also work. If you've not got Biopython installed then ClustalX is probably the easiest.