Why conversion comes up
Sequence files arrive in whatever format the last program wrote. A sequencing run gives FASTQ, a database download gives GenBank, a colleague emails a bare string, and the next tool in your pipeline wants FASTA. For a handful of records, opening a command-line toolkit is overkill. This page converts between FASTA, FASTQ, a simplified GenBank layout and plain sequence in the browser, and reports how many records it found, their total and average length, and the overall GC content.
What survives each conversion
| From | To | Keep in mind |
|---|---|---|
| FASTQ | FASTA | Quality scores are discarded; the @ header becomes the > header |
| FASTA | FASTQ | The tool has no real qualities to use, so it writes the same placeholder score for every base. Never feed that file to software that trusts quality values |
| GenBank | FASTA | Only the definition line and the ORIGIN sequence are kept; features, references and annotations are dropped |
| Anything | GenBank | The output is a minimal record with a LOCUS line, a definition and the sequence, without features |
| Anything | Raw | Headers are removed and only the bases remain |
Preparing input
- Set the input format to match what you paste. A FASTQ file read as FASTA will not parse correctly.
- FASTQ records are read four lines at a time: header, sequence, plus line and quality string. Wrapped FASTQ, where a sequence spans several lines, is not handled.
- FASTA records may be wrapped; the lines are joined before conversion.
- The example buttons load a small record in each input format, which is the easiest way to see the expected layout.
Checking the output
The statistics panel is the quickest check. If you pasted five FASTA records, the record count should be five, and the total length should match the sum you expect. If the count is one when you expected several, the headers probably did not begin with the right character for the chosen format. Copy the result with the copy button, or download it as a file with the extension that matches the output format.
When to use something else
For thousands of reads, full GenBank feature tables, or any step where quality scores feed variant calling or trimming, use a dedicated toolkit run locally. The converter here is meant for small, everyday jobs, such as turning a downloaded record into FASTA for an alignment, or stripping headers to paste a sequence into another tool on this bench.