How to open .BED files on Mac
To open .BED files on Mac, control-click the file and choose Open With, then use a plain-text editor to check whether it is a text-based genomic BED file.
Step-by-step instructions
- Control-click the file and choose Open With, then use a plain-text editor to check whether it is a text-based genomic BED file.
- Open genomic BED annotation tracks in IGV Desktop or load them into the UCSC Genome Browser.
- If the file is part of a PLINK dataset, keep the .bed, .bim, and .fam files together and use PLINK.
- If the file is binary and you do not know its source, ask the sender or the generating application which .BED format it uses.
Recommended software
- VS Code
- Notepad++/TextEdit
- jq (CLI)
Alternative methods
- Open .BED in a browser-based viewer if desktop apps fail.
- Try opening .BED on Mac with a secondary app to rule out app-specific issues.
- Convert .BED only with trusted tools when direct opening is not possible.
Common issues
The .BED file opens as unreadable binary data
Not every .BED file is a text-based genomic BED file. PLINK .bed files are binary genotype tables, and IANA also registers .bed for a binary RealVNC vendor data format.
- Check whether the file came with .bim and .fam files; if so, open it with PLINK.
- Check the file source or ask the sender which application created it.
- Do not convert a binary .BED file by saving it from a text editor, because this can corrupt it.
A genome browser or IGV does not load the file
Genomic BED files must follow the expected column structure and must match the genome or reference assembly being viewed.
- Confirm the file has at least the three required BED fields.
- Check that columns are separated by whitespace or tabs and that there are no broken or inconsistent rows.
- Make sure chromosome or sequence names match the reference genome used in the viewer.
bedtools gives unexpected results
Unexpected output often comes from using the wrong .BED variant, inconsistent fields, or data that does not follow the BED specification expected by the tool.
- Confirm the file is a genomic BED text file, not a PLINK or RealVNC binary file.
- Check whether your data is BED3, BED4, BED5, BED6, or BED12 and use options appropriate for that structure.
- Validate a few lines manually against the BED format documentation before running large analyses.
The file is too large to open on a phone or in a basic editor
Genomic BED files can be very large annotation or interval datasets, and mobile apps or simple editors may freeze or truncate the file.
- Use desktop bioinformatics tools or a genome browser instead of a mobile viewer.
- Inspect only the first few lines with command-line tools before loading the entire file.
- If you only need a subset, filter or split the data with an appropriate desktop workflow.
Security note
Genomic BED files are normally plain text and do not contain macros, but malformed or extremely large files can still crash or slow down parsers and viewers.