NCD to JPG Conversion Explained
Converting .NCD (NC Drill or Excellon) files to .JPG changes a machine-readable, coordinate-based manufacturing file into a flat, pixel-based image. People convert .NCD to .JPG to quickly visualize PCB (Printed Circuit Board) drill patterns without requiring specialized Electronic Design Automation (EDA) software.
When you convert .NCD to .JPG, you gain universal compatibility. Anyone can open a .JPG on any device. However, you lose all manufacturing data. The exact X and Y coordinates, tool codes (T-codes), and drill diameters are permanently discarded. The file becomes a static picture. This conversion is a bad idea if you intend to send the file to a PCB manufacturer. Fab houses require the original .NCD file to program their CNC drilling machines.
Typical Tasks and Users
- PCB Designers: Creating visual documentation, assembly manuals, or design portfolios.
- Quality Assurance Teams: Visually verifying drill hole alignment against copper layers in reports.
- Project Managers: Sharing quick design previews with clients or stakeholders who do not have engineering software.
- Electronics Hobbyists: Uploading drill patterns to blogs, forums, or tutorials to explain a circuit layout.
Software & Tool Support
You cannot open an .NCD file directly in standard image editors. You must use EDA software or a Gerber viewer to render the drill file before exporting it as an image.
- KiCad: A free, open-source EDA suite. Its GerbView tool can open .NCD files and export the visual layout.
- Gerbv: An open-source Gerber and Excellon viewer that allows command-line or GUI-based exporting to raster formats.
- Altium Designer: A premium PCB design platform that natively handles .NCD files and supports image exports for documentation.
- ViewMate: A popular Gerber viewer by PentaLogix that reads drill files for visual inspection.
- Adobe Photoshop and GIMP: These raster editors can only open the resulting .JPG file after the conversion is complete.
Pros and Cons of the Conversion
Pros:
- Universal Compatibility: .JPG files open natively on all operating systems, web browsers, and mobile devices.
- Easy Sharing: You can embed .JPG files directly into emails, PDFs, and web pages.
- Small File Size: JPEG compression significantly reduces the file size for easy transmission.
Cons:
- Total Data Loss: The .JPG contains no machine-readable coordinates or drill sizes. It cannot be used for manufacturing.
- Compression Artifacts: .JPG uses lossy compression designed for photographs. It often creates blurry artifacts around the sharp edges of drill holes.
- No Scalability: Unlike the vector-based .NCD file, a .JPG will pixelate if you zoom in to inspect tight tolerances.
- No Transparency: .JPG does not support transparent backgrounds, making it difficult to overlay the drill image onto other PCB layers.
Conversion Difficulties & Why Convert.Guru
Converting .NCD to .JPG is technically complex because .NCD is not an image format. It is a plain-text file containing Excellon format instructions (e.g., X01500Y02000). To create a .JPG, a rendering engine must parse these text coordinates, map the tool codes to physical diameters, scale the layout to a specific pixel grid, and rasterize the geometry.
Furthermore, rendering sharp circles (drill holes) into a lossy .JPG format often results in visual noise. Convert.Guru handles this entire pipeline automatically. It parses the Excellon syntax, applies accurate scaling, and uses high-quality anti-aliasing during rasterization. This provides a clean, accurate visual representation of your drill file without requiring you to install complex EDA software or configure command-line rendering tools.
NCD vs. JPG: What is the better choice?
| Feature | NCD | JPG |
| Data Type | Text-based vector coordinates | Raster pixels |
| Primary Use | CNC machine drilling (PCB manufacturing) | Web viewing and documentation |
| Machine Readable | Yes | No |
| Compression | None (Plain text) | Lossy |
| Scalability | Infinite (Vector) | Fixed resolution |
Which format should you choose?
Choose .NCD for all engineering and manufacturing tasks. If you are sending files to a fab house, running CAM software, or importing data into a PCB layout tool, you must use .NCD.
Choose .JPG only when you need to show a human what the drill pattern looks like. It is ideal for quick emails, web galleries, or printed manuals. However, because .JPG compression struggles with sharp line art, you should consider converting .NCD to .PNG or .SVG instead if you need crisp edges or transparent backgrounds for your documentation.
Conclusion
Converting .NCD to .JPG makes sense when you need to turn complex manufacturing data into a simple, universally viewable image for documentation or sharing. The critical limitation to remember is that this is a one-way process; the resulting image cannot be used to manufacture a circuit board. Convert.Guru offers a reliable, automated solution for this exact conversion, handling the complex Excellon parsing and rasterization in the background so you get a clear, accurate image instantly.
About the NCD to JPG Converter
Convert.Guru makes it fast and easy to convert Design and drill files to JPG online. The NCD to JPG converter runs entirely in your browser, so there’s no software to install and no account required. Powered by one of the industry’s largest and most trusted file format databases—maintained for more than 25 years—our technology reliably identifies NCD Design files even when they are damaged or incorrectly named. Uploaded files are automatically deleted after conversion to protect your privacy.