FASTA Formatter & Validator

Clean, re-wrap and validate DNA or protein sequences in FASTA format.

  • Free, no sign-up
  • Runs in your browser — files stay private

What is the FASTA Formatter & Validator?

The FASTA Formatter cleans up sequences copied from papers, GenBank flat files or sequencing reports: it strips spaces, line numbers and invalid characters, sets the case and re-wraps lines (60 characters is standard), and reports each record's length, type and GC content.

How to use the FASTA Formatter & Validator

  1. Paste one or more sequences (with or without > headers).
  2. Choose line width, case and sequence type.
  3. Copy or download the clean FASTA.

Formula and method

FASTA format: a header line starting with > followed by the sequence on one or more lines. Valid nucleotide characters are the IUPAC codes A, C, G, T, U, R, Y, S, W, K, M, B, D, H, V, N and gaps (−).

Frequently asked questions

What line width should I use?

60 characters (NCBI) or 80 characters are standard. Most programs accept any width, including a single line.

Last updated · Part of Bioinformatics Tools