FASTA Parser

Parse multi-record FASTA input, inspect each entry, and re-export cleanly formatted.

The FASTA Parser & Formatter inspects, cleans, validates, and re-formats multi-record FASTA files, extracting sequence headers, length distributions, composition statistics, and line-wrapped sequence blocks.

Free, runs in your browser. Nothing you enter is uploaded.

How to use it

  1. Paste multi-FASTA format text.
  2. Inspect record count, individual headers, and sequence lengths.
  3. Export cleaned/reformatted FASTA.

What you enter

What you get

Formula

Parse Rule: Header = Lines starting with '>' | Sequence = Concatenation of subsequent non-header lines (whitespace stripped)

Validates FASTA syntax compliance (RFC-like format), strips whitespace and invalid non-IUPAC characters, and re-formats sequences to standard 60-character or 80-character line wraps.

Example: Cleaning a 5-Record Viral Gene FASTA

Input: Unformatted raw text with irregular line lengths, spaces, and numbers

Result: Parsed 5 valid records | Standardized 60-character wrapped FASTA output

All non-sequence characters removed; valid FASTA ready for downstream bioinformatics command-line pipelines (BLAST, Clustal, Bowtie).

Questions

What is standard FASTA sequence format?

FASTA format begins with a single-line description starting with a '>' character, followed by lines of single-letter nucleotide or amino acid codes.

Limitations

References

Related reading

More Utilities

All free tools · By Dr. Zubair Khalid, DVM, MS, PhD.