DNA Complement Strand Tool
Generate the complementary strand of a DNA sequence by pairing bases (A↔T, G↔C). Paste the sequence and get the matching strand instantly for molecular biology.
Complement
—
Base pairing, and why the output reads 3' to 5'
One input box takes a DNA sequence — the loaded example is ATGCGTACGTAC — and the script walks it letter by letter through a four-entry table: A becomes T, T becomes A, G becomes C and C becomes G. The example returns TACGCATGCATG, refreshed on every keystroke. Input is uppercased first, so lowercase sequence works untouched, which matters because reference genomes soft-mask repetitive regions in lowercase. Base pairing is all the page does: no GC content, no melting temperature, no alignment, no restriction site search.
Orientation is the catch. Bases come out in the same left-to-right positions they went in, but the two DNA strands are antiparallel. If your input is written 5' to 3', as convention demands, the output read left to right runs 3' to 5'. It is the correct partner base for base, stacked under the input the way a double helix is drawn, and that is exactly what you want when checking pairing, an annealing site or a point mutation on both strands. It is not what you order as an oligo. To write the partner strand in the conventional 5' to 3' form, reverse the output: TACGCATGCATG read backwards is GTACGTACGCAT, which is precisely what the reverse complement tool returns in one step.
Any character outside the four bases is replaced by an empty string, silently. ATGNCGT returns TACGCA — six letters from a seven-character input, because the N dropped out and the neighbours closed the gap. IUPAC ambiguity codes (R, Y, S, W, K, M), alignment gap dashes and position numbers all disappear the same way. U is not in the table either, so pasting RNA deletes every uracil: AUGC comes back as TCG. An input with no valid base at all leaves the result box blank, with no error message. One habit avoids the whole trap: compare the length of what you pasted with the length of what came out, and treat any difference as a warning.
Frequently asked questions
Is the strand I get back written 5' to 3'?
Why did the N or the U vanish from my sequence?
What is the difference between complement and reverse complement?
Related Tools
DNA Reverse Complement Tool
Calculate the reverse complement of a DNA sequence, in the 5-to-3 direction. Essential for primer design and sequence analysis in molecular biology.
Six-Frame Translation and ORF Finder
Translate a DNA sequence in all six reading frames and list the ORFs, with the position on the strand, length in amino acids and the predicted protein.
DNA to RNA Transcription Tool
Paste the coding strand of DNA and get the matching messenger RNA, with every thymine swapped for uracil. The sequence matches the gene, only in RNA.
Base64 Converter
Encode text to Base64 or decode Base64 strings back to the original. Free online tool with no server required.
CSV to JSON
Convert CSV to JSON. The first row becomes object keys, the rest become array items. Supports separators , ; and \t. Auto-detects numbers and booleans. Everything in your browser.
dBV to Volts RMS Converter
Convert a level in dBV to RMS voltage against the 1 V reference: V = 10^(dBV/20). Consumer line level, −10 dBV, is 0.316 V — which is not the same as dBu.