# swiftcsv/SwiftCSV

CSV parser for Swift

Repository: https://github.com/swiftcsv/SwiftCSV
Canonical: https://ross.abutalabs.com/products/swiftcsv
Language: Swift
License: MIT
License Family: permissive
Topics: csv, parser, tsv, swift, ios, mac, macos
Last push: 2025-12-16T06:09:52+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 57, release rhythm 8, longevity 100
- inputs: {"age_days": 4468, "days_push": 260, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1092, forks 194 (observed 2026-08-28T04:03:33.214894+00:00)

## What it is
SwiftCSV is a simple CSV parsing library for Swift supporting macOS, iOS, tvOS, and watchOS. It handles custom delimiters, file loading from URLs and bundles, and typed parse errors.

## Use cases
- parse csv files in swift
- read tsv files on ios
- load csv from app bundle in swift
- parse csv with custom delimiter
- import spreadsheet data into an ios app

## When to choose
- you are building an Apple-platform app in Swift that needs CSV/TSV parsing
- you want a lightweight, MIT-licensed parser with Swift Package Manager, CocoaPods, and Carthage support

## When to avoid
- you need to write or stream very large CSV files rather than parse them
- your project is not in Swift or does not target Apple platforms

## Facets
- artifact type: library
- maturity: active
- function: parser, csv
- domain: files, developer-tools, parsers
- platform: cross-platform
- tags: tsv, cocoapods, swift-package-manager, apple-platforms, macos, ios, swift

## Member repositories
- swiftcsv/SwiftCSV (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.214894+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:04.017139+00:00, confidence not recorded.
  - readme: https://github.com/swiftcsv/SwiftCSV (fetched 2026-08-28T04:03:33.214894+00:00, sha 34687de226f9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
