DNA & RNA

Reverse Complement Tool

Get the reverse complement, reverse or complement of DNA and RNA sequences, with full IUPAC ambiguity-code support and multi-FASTA input. Runs privately in your browser.

Reverse Complement ToolRuns in your browser; nothing is uploaded
>pUC19_lacZ_fragment_revcomp GCGCCATTCGCCATTCAGGCTGCGCAACTGTTGGGAAGGGCGATCGGTGCGGGCCTCTTC GCTATTACGCCAGCTGGCGAAAGGGGGATGTGCTGCAAGGCGATTAAGTTGGGTAACGCC AGGGTTTTCCCAGTCACGACGTTGTAAAACGACGGCCAGTGAATTCGAGCTCGGTACCCG GGGATCCTCTAGAGTCGACCTGCAGGCATGCAAGCTTGGCGTAATCATGGTCAT
234 nt

What is a reverse complement?

DNA is double-stranded and the two strands run in opposite directions. The reverse complement of a sequence is the sequence of the opposite strand read 5′ to 3′: each base is replaced by its partner (A↔T, G↔C) and the result is reversed.

You need it whenever a feature lies on the minus strand, when designing reverse primers, or when comparing reads that map to the opposite strand.

Reverse vs complement vs reverse complement

The complement swaps bases without reversing; the reverse only reverses the order. Neither corresponds to a real strand read in the conventional direction, but both are useful in specific situations such as reading a sequence 3′ to 5′.

Ambiguity codes

IUPAC codes are complemented correctly: R (A/G) ↔ Y (C/T), K ↔ M, B ↔ V, D ↔ H, while S, W and N are their own complements.

Learn the method properly. Bioinformatics Foundations: Databases, file formats, alignment and the command line: the working toolkit of every bioinformatician. View the course.

FAQ

Frequently asked questions

Not answered here? Send us your question and we will reply by e-mail.

The output is upper case, which is what most downstream tools expect.

No. The calculation runs in your browser with JavaScript. Nothing you paste is sent to a server, which makes the tool safe for unpublished or confidential sequences.