ICD-10-CM to CSV.
Ready for your spreadsheet.
Convert an official code-order or code-description TXT file into a clean CSV for Excel, R or Python. Your file stays on your device.
- Completely free
- No signup or upload
- Original English titles
1. Get the official file
Open the CDC/NCHS release listing. For FY2027, download the code-description ZIP and extract it.
2. Choose the TXT
Select icd10cm-order-2027.txt for order numbers, both descriptions and validity flags, or icd10cm-codes-2027.txt for codes and long descriptions.
3. Preview and export
Review the detected format and sample rows. Choose your export options and download a UTF-8 CSV. The full source is converted; the preview shows the first ten selected rows.
A reproducible starting point for your research or class
Take the converter offline and keep a clear record of how your CSV was prepared. The free starter kit includes a worked five-row example, a classroom exercise, Python checks and a base R import script. No account or software subscription is required.
- Check your export. Test the five-column structure, duplicate codes and source-field consistency with a Python script that uses only the standard library.
- Keep the source trail. Record the release label, retrieval date, source URL and SHA-256 file checksums in a local provenance report.
- Teach the workflow. Compare the included example with its expected CSV, discuss the limits of a description table and import all columns as text in R.
- Work offline. Open the complete HTML converter on your device or host the included widget on your own site. Original full code files are obtained separately from CDC/NCHS.
Download the free research starter kit ZIP · 106 KB · Python 3 / base R examples
Verify your download
SHA-256 of the complete ZIP:
b060cfca7ea2c3b5691d675a8a1f5a49faf4f9b86a063361be59ac267048c3fcThese checks establish file structure and reproducibility. They do not authenticate a source, verify the release against an official catalog, or validate clinical code selection. The kit contains a small documented teaching sample, not the complete classification.
Choose the file that contains the fields you need
The converter supports the official full-file layouts used in the tested FY2027 and April FY2026 downloads. It reads the file you select; it does not fetch a catalog, infer its release from the filename or certify that it is current.
| Source TXT | Fields retained in the CSV | Good for |
|---|---|---|
| Code-order file | Order number, code, short description, long description, and 0/1 submission flag | A structured source table with categories and complete entries |
| Code-description file | Code and long description; unavailable fields stay blank | A code-to-description table for a research or spreadsheet workflow |
CSV columns are order_number, code, short_description, long_description and valid_for_submission. Source descriptions are retained, including commas and quotation marks. The exporter quotes values and includes a UTF-8 byte-order mark for spreadsheet compatibility.
A file flag is a source field. A value of 1 does not establish that a code fits a patient, is covered by a payer, or will be reimbursed. A converted description table does not contain the full Index, inherited Tabular instructions or coding guidelines.
Common questions
Is this an official CDC CSV download?
No. ICD Code Hub converts the official TXT file you supply into CSV. CDC/NCHS remains the source of the classification. Retain the original ZIP, its release and retrieval date with your converted dataset.
Does my file leave my computer?
The converter reads and processes it in your browser. File contents are not uploaded to ICD Code Hub, sent to an API, or saved in your account. Clearing the tool removes its working copy; downloaded CSVs remain on your device.
Can I use the full file, rather than a small code list?
Yes. The full FY2027 order file was verified at 98,403 rows and the April FY2026 order file at 98,186 rows. Limits are 25 MiB and 150,000 rows. Only the first ten selected rows are rendered in the preview; all selected rows are included in the download.
Why was my file rejected?
Choose the extracted full order or code-description TXT. Addenda, ZIP, XML, spreadsheets and reformatted text are different layouts. The converter stops on malformed or duplicated rows and identifies the problem; it does not silently omit them. Keep the source spacing intact.
Will it add decimals or remove category headings?
Both are optional. Decimal formatting inserts a dot after the third character without changing the remaining characters. Filtering by the submission flag is available only for an order file, because a description-only file does not supply that flag.
Can I put this converter on my own website?
Yes. Download the self-contained HTML to host a complete page, or use the embeddable widget to add the converter to an existing page. Both include the CSS, JavaScript and conversion logic and work without an external library or data service.
Share it with your team or readers
Link to the free tool from a research workflow, teaching guide or resources page. Attribution is optional; use the link when it helps your readers.
HTML link for your website
Embed on an existing page
Download the complete widget, upload it as icd10cm-csv-widget.js on your own website, then paste these two lines into your page. The file includes its CSS and JavaScript and needs no external library, account or API.
Your website must allow this local script. The widget keeps its styles isolated from your page. No attribution link is required.
Keep the source trail with your data
Record the classification, release, original file name and source URL alongside your CSV. The CDC/NCHS files page identifies the applicable releases. The FY2027 ZIP includes its source-format documents, icd10OrderFiles.pdf and icd10cmCodesFile.pdf. This tool converts file structure; it does not perform clinical code assignment.
Published October 29, 2026 · Free tool by ICD Code Hub, a Pluginfinity LLC product · Report a conversion issue