Bioinformatics Format Converter
Optimization Tip
For optimal performance with large datasets, compress files using gzip (.gz) before uploading. This service supports files up to 100MB.
Was this tool helpful?
Our BAM file format converter is a web-based tool for manipulating genomic data. It lets researchers convert BAM (Binary Alignment Map) files, which store large amounts of sequence alignment data, into essential formats for downstream analysis and visualization. Whether you need to generate coverage tracks like bedgraph or bigwig, extract sequences into fasta or fastq, or decompress to sam or cram, this tool streamlines your bioinformatics workflow and makes your alignment data accessible for different applications without complex command-line operations.
How to Use

- Upload Your Data File: Click inside the upload box to browse and select your bam file, or simply drag and drop your file directly onto the designated area.
- Select Output Format: Set “Input Format” to bam. From the “Output Format” dropdown menu, choose your desired format (e.g., bedgraph, sam, fastq).
- Convert and Download: Click the “Convert File” button to begin processing. Once completed, a “Download” link will appear. Click it to save the converted file. You can click the “Reset” button at any time to clear the selection.
Features
Our converter supports a wide range of output formats, leveraging industry-standard, high-performance bioinformatics engines to ensure accuracy and reliability.
- bam to bedgraph (Engine: BEDTOOLS)
- bam to bigwig (Engine: DEEPTOOLS)
- bam to cov (Engine: BEDTOOLS)
- bam to cram (Engine: SAMTOOLS)
- bam to fasta (Engine: SAMTOOLS)
- bam to fastq (Engine: SAMTOOLS)
- bam to json (Engine: BAMTOOLS)
- bam to sam (Engine: SAMBAMBA)
- bam to tsv (Engine: SAMTOOLS)
- bam to wiggle (Engine: WIGGLETOOLS)
Applications
The ability to convert bam files unlocks a wide array of subsequent analyses and data visualizations.

- Genome Visualization: Convert
bamfiles tobigwigorbedgraphto create lightweight coverage tracks. These files can be easily loaded into genome browsers like the UCSC Genome Browser or IGV (Integrative Genomics Viewer) to visualize read depth, gene expression (RNA-Seq), or protein binding sites (ChIP-Seq). - Sequence Extraction: Converting to
fastaorfastqallows you to extract the raw read sequences from your aligned file. This is useful for re-assembly, quality control checks, or analysis with tools that require sequence-only input. - Data Interchange and Inspection: A
bamfile can be decompressed tosam(Sequence Alignment Map), a human-readable text format, which is useful for manual inspection or for use with older scripts that do not support thebamformat. - Scripting and Statistical Analysis: By converting
bamdata totsv(Tab-Separated Values) orjson, you can easily parse alignment information using custom scripts in Python, R, or Perl for specialized statistical analysis. - Archival and Storage: Converting
bamtocramprovides even greater compression by referencing the original genome, significantly reducing long-term storage costs.
Support Our Work
We are committed to keeping our scientific tools free and accessible for everyone. If this tool has been helpful in your work, please consider supporting our mission with a donation. Your support directly helps us cover server costs and fund the development of new, powerful tools for the scientific community.
FAQ
References & Suggested Reading
This tool is built upon established, peer-reviewed bioinformatics software and data standards. We highly recommend the following publications for a deeper understanding of the scientific principles and technologies involved in sequence data analysis.
- Li, H., Handsaker, B., Wysoker, A., Fennell, T., Ruan, J., Homer, N., Marth, G., Abecasis, G., Durbin, R., & 1000 Genome Project Data Processing Subgroup (2009). The Sequence Alignment/Map format and SAMtools. Bioinformatics, 25(16), 2078–2079. https://doi.org/10.1093/bioinformatics/btp352
- Kent, W. J., Zweig, A. S., Barber, G., Hinrichs, A. S., & Karolchik, D. (2010). BigWig and BigBed: enabling browsers to support user-generated annotation tracks. Bioinformatics, 26(17), 2204–2207. https://doi.org/10.1093/bioinformatics/btq351
- Quinlan, A. R., & Hall, I. M. (2010). BEDTools: a flexible suite of utilities for comparing genomic features. Bioinformatics, 26(6), 841–842. https://doi.org/10.1093/bioinformatics/btq033
- Ramírez, F., Ryan, D. P., Grüning, B., Bhardwaj, V., Kilpert, F., Richter, A. S., Heyne, S., Dündar, F., & Manke, T. (2016). deepTools2: a next generation web server for deep-sequencing data analysis. Nucleic Acids Research, 44(W1), W160–W165. https://doi.org/10.1093/nar/gkw257
- Hsi-Yang Fritz, M., Leinonen, R., Cochrane, G., & Birney, E. (2011). Efficient storage of high throughput sequencing data using reference-based compression. Genome Research, 21(5), 734–740. https://doi.org/10.1011/gr.114819.110