CSV
macOS always uses its own previewer for CSV and already shows it as a basic table.
Type an extension, or browse by category.
Every answer shows two pictures of the same sample file: how Quick
Look displays it today, and how DevPeek displays it.
Hundreds of extensions,
plus files matched by name such as Makefile and
.env.
The pictures are renderings, not screenshots of the Quick Look window. Where Quick Look has no preview for a type, the page says so and shows a placeholder, because on your Mac you would see only the file’s icon.
Grouped the way the lookup groups them. "Raw text" means Quick Look showed the sample as plain text; "No preview" means it showed only the file’s icon and name, nothing from inside the file — on the macOS version noted above, checked on the date noted above.
| Files | Example | Quick Look today | With DevPeek |
|---|---|---|---|
.c | ringbuf.c | Raw text | Coloured, numbered code (C). |
.cc, .cp, .cpp, .cxx, .c++ | main.cc | Raw text | Coloured, numbered code (C++). |
.clj, .cljc, .cljr, .cljs | pricing.clj | Raw text | Coloured, numbered code (Clojure). |
.cs | OrderService.cs | Raw text | Coloured, numbered code (C#). |
.cu | saxpy.cu | Raw text | Coloured, numbered code (CUDA). |
.dart | counter_page.dart | Raw text | Coloured, numbered code (Dart). |
.erl | rate_limiter.erl | Raw text | Coloured, numbered code (Erlang). |
.ex | cart.ex | Raw text | Coloured, numbered code (Elixir). |
.fs | Parsing.fs | Raw text | Coloured, numbered code (F#). |
.fsx | explore.fsx | Raw text | Coloured, numbered code (F#). |
.gemspec | mailroom.gemspec | Raw text | Coloured, numbered code (Ruby). |
.go | greet.go | Raw text | Coloured, numbered code (Go). |
.gradle | build.gradle | Raw text | Coloured, numbered code (Groovy). |
.graphql, .gql | schema.graphql | Raw text | Coloured, numbered code (GraphQL). |
.groovy | pipeline.groovy | Raw text | Coloured, numbered code (Groovy). |
.h | ringbuf.h | Raw text | Coloured, numbered code (C). |
.hh, .hp, .hpp, .hxx, .h++, .ipp | Histogram.hh | Raw text | Coloured, numbered code (C++). |
.hrl | rate_limiter.hrl | Raw text | Coloured, numbered code (Erlang). |
.hs | Ledger.hs | Raw text | Coloured, numbered code (Haskell). |
.java, .jav | InvoiceRepository.java | Raw text | Coloured, numbered code (Java). |
.jl | simulate.jl | Raw text | Coloured, numbered code (Julia). |
.kt | WeatherViewModel.kt | Raw text | Coloured, numbered code (Kotlin). |
.kts | build.gradle.kts | Raw text | Coloured, numbered code (Kotlin). |
.lua | config.lua | Raw text | Coloured, numbered code (Lua). |
.m | TemperatureLogger.m | Raw text | Coloured, numbered code (Objective-C). |
.metal | Blur.metal | Raw text | Coloured, numbered code (Metal). |
.ml | tokenizer.ml | Raw text | Coloured, numbered code (OCaml). |
.mli | tokenizer.mli | Raw text | Coloured, numbered code (OCaml). |
.mm | ImagePipeline.mm | Raw text | Coloured, numbered code (Objective-C++). |
.modulemap | module.modulemap | Raw text | Coloured, numbered code (module map). |
.nim | wordfreq.nim | Raw text | Coloured, numbered code (Nim). |
.php, .php3, .php4, .ph3, .ph4 | ArticleController.php | Raw text | Coloured, numbered code (PHP). |
.phtml | articles.phtml | Raw text | Coloured, numbered code (PHP template). |
.pl | rotate-logs.pl | Raw text | Coloured, numbered code (Perl). |
.pm | Subject.pm | Raw text | Coloured, numbered code (Perl). |
.prisma | schema.prisma | Raw text | Coloured, numbered code (Prisma). |
.proto | telemetry.proto | Raw text | Coloured, numbered code (Protobuf). |
.py | matcher.py | Raw text | Coloured, numbered code (Python). |
.pyi | geometry.pyi | Raw text | Coloured, numbered code (Python). |
.pyw | wordcounter.pyw | Raw text | Coloured, numbered code (Python). |
.pyx | fastsum.pyx | Raw text | Coloured, numbered code (Cython). |
.r | analysis.r | Raw text | Coloured, numbered code (R). |
.rake | tasks.rake | Raw text | Coloured, numbered code (Ruby). |
.rb, .rbw | subject_cleaner.rb | Raw text | Coloured, numbered code (Ruby). |
.rs | counter.rs | Raw text | Coloured, numbered code (Rust). |
.s | strlen.s | Raw text | Coloured, numbered code (assembly). |
.sbt | build.sbt | Raw text | Coloured, numbered code (Scala). |
.sc | scratch.sc | Raw text | Coloured, numbered code (Scala). |
.scala | Inventory.scala | Raw text | Coloured, numbered code (Scala). |
.sol | Escrow.sol | Raw text | Coloured, numbered code (Solidity). |
.sql | 0007_add_order_totals.sql | Raw text | Coloured, numbered code (SQL). |
.swift | Tour.swift | Raw text | Coloured, numbered code (Swift). |
.swiftinterface | PeekKit.swiftinterface | Raw text | Coloured, numbered code (Swift). |
.vb | Invoice.vb | Raw text | Coloured, numbered code (Visual Basic). |
.zig | checksum.zig | Raw text | Coloured, numbered code (Zig). |
| Files | Example | Quick Look today | With DevPeek |
|---|---|---|---|
.astro | [slug].astro | Raw text | Coloured, numbered code (Astro). |
.cjs | server.cjs | Raw text | Coloured, numbered code (JavaScript). |
.css | site.css | No preview | Coloured, numbered code (CSS). |
.cts | config.cts | Raw text | Coloured, numbered code (TypeScript). |
.ejs | show.ejs | Raw text | Coloured, numbered code (EJS). |
.erb | show.html.erb | Raw text | Coloured, numbered code (ERB). |
.jinja, .j2 | report.jinja | Raw text | Coloured, numbered code (Jinja). |
.js | store.js | Raw text | Coloured, numbered code (JavaScript). |
.jscript, .javascript | analytics.jscript | Raw text | Coloured, numbered code (JavaScript). |
.jsx | TodoList.jsx | Raw text | Coloured, numbered code (JavaScript). |
.less | theme.less | Raw text | Coloured, numbered code (Less). |
.liquid | product.liquid | Raw text | Coloured, numbered code (Liquid). |
.mjs | cache.mjs | Raw text | Coloured, numbered code (JavaScript). |
.njk | post.njk | Raw text | Coloured, numbered code (Nunjucks). |
.sass | _layout.sass | Raw text | Coloured, numbered code (Sass). |
.scss | _buttons.scss | Raw text | Coloured, numbered code (SCSS). |
.styl | app.styl | Raw text | Coloured, numbered code (Stylus). |
.svelte | Counter.svelte | Raw text | Coloured, numbered code (Svelte). |
.tsx | Button.tsx | Raw text | Coloured, numbered code (TypeScript). |
.twig | show.html.twig | Raw text | Coloured, numbered code (Twig). |
.vue | Catalogue.vue | Raw text | Coloured, numbered code (Vue). |
| Files | Example | Quick Look today | With DevPeek |
|---|---|---|---|
.bash | install.bash | Raw text | Coloured, numbered code (shell). |
.bat | build.bat | Raw text | Coloured, numbered code (batch). |
.cmd | deploy.cmd | Raw text | Coloured, numbered code (batch). |
.command, .tool | Open Logs.command | Raw text | Coloured, numbered code (shell). |
.csh | setenv-proj.csh | Raw text | Coloured, numbered code (csh/tcsh). |
.fish | prompt.fish | Raw text | Coloured, numbered code (fish). |
.ksh | backup.ksh | Raw text | Coloured, numbered code (shell). |
.ps1 | Rotate-Logs.ps1 | Raw text | Coloured, numbered code (PowerShell). |
.psm1 | LogTools.psm1 | Raw text | Coloured, numbered code (PowerShell). |
.sh | setup.sh | Raw text | Coloured, numbered code (shell). |
.tcsh | cleanup.tcsh | Raw text | Coloured, numbered code (csh/tcsh). |
.zsh | deploy.zsh | Raw text | Coloured, numbered code (zsh). |
| Files | Example | Quick Look today | With DevPeek |
|---|---|---|---|
.bzl | rules.bzl | Raw text | Coloured, numbered code (Python). |
.cmake | CMakeLists.cmake | Raw text | Coloured, numbered code (CMake). |
Dockerfile | Dockerfile | No preview | Coloured, numbered code (Dockerfile). |
.gn | BUILD.gn | Raw text | Coloured, numbered code (GN). |
.hcl | api.nomad.hcl | Raw text | Coloured, numbered code (HCL). |
.make, .mak, .mk, .gmk | rules.make | Raw text | Coloured, numbered code (Makefile). |
Makefile | Makefile | Raw text | Coloured, numbered code (Makefile). |
.mod | go.mod | Raw text | Coloured, numbered code (Go module). |
.ninja | build.ninja | Raw text | Coloured, numbered code (Ninja). |
.nix | flake.nix | Raw text | Coloured, numbered code (Nix). |
.resolved | Package.resolved | Raw text | Coloured, numbered code (JSON). |
.sum | go.sum | Raw text | Plain text with line numbers. |
.tf | main.tf | Raw text | Coloured, numbered code (HCL). |
.tfvars | production.tfvars | Raw text | Coloured, numbered code (HCL). |
.work | go.work | Raw text | Coloured, numbered code (Go module). |
.xcconfig | Release.xcconfig | Raw text | Coloured, numbered code (xcconfig). |
| Files | Example | Quick Look today | With DevPeek |
|---|---|---|---|
.frag, .fragment, .fragsh, .fsh | water.frag | Raw text | Coloured, numbered code (GLSL). |
.glsl, .vert, .vertex, .vs, .vsh | wave.glsl | Raw text | Coloured, numbered code (GLSL). |
.hlsl | Blur.hlsl | Raw text | Coloured, numbered code (HLSL). |
.wgsl | particles.wgsl | Raw text | Coloured, numbered code (WGSL). |
| Files | Example | Quick Look today | With DevPeek |
|---|---|---|---|
.atom | feed.atom | No preview | Coloured, numbered code (XML). |
.cfg | setup.cfg | No preview | Coloured, numbered code (INI). |
.conf | nginx.conf | Raw text | Coloured, numbered code (config). |
.config | Web.config | No preview | Coloured, numbered code (XML). |
.desktop | ledger.desktop | Raw text | Coloured, numbered code (INI). |
.diff, .patch | fix-preview.diff | Raw text | Added and removed lines coloured, with file headers. |
.geojson | landmarks.geojson | Raw text | Coloured, numbered code (JSON). |
.har | dashboard.har | Raw text | Coloured, numbered code (JSON). Values hidden by default, so a secret never reaches the screen. |
.ini | gitconfig.ini | No preview | Coloured, numbered code (INI). |
.ipynb | drift-analysis.ipynb | Raw text | Notebook cells: Markdown rendered, code coloured, outputs and plots beneath. |
.json | package.json | Raw text | Coloured, numbered code (JSON). |
.json5 | config.json5 | Raw text | Coloured, numbered code (JSON5). |
.jsonc | settings.jsonc | Raw text | Coloured, numbered code (JSON with comments). |
.jsonl, .ndjson | events.jsonl | Raw text | Coloured, numbered code (JSON Lines). |
.lock | Cargo.lock | Raw text | Coloured, numbered code (TOML). |
.log | server.log | Raw text | Log view: levels and timestamps picked out, read from the end of the file. |
.properties | application.properties | Raw text | Coloured, numbered code (properties). |
.rss | feed.rss | No preview | Coloured, numbered code (XML). |
.service | orders.service | Raw text | Coloured, numbered code (INI). |
.toml | Cargo.toml | No preview | Coloured, numbered code (TOML). |
.topojson | parks.topojson | Raw text | Coloured, numbered code (JSON). |
.tsv | orders.tsv | Raw text | A table with a header row. |
.webmanifest | site.webmanifest | Raw text | Coloured, numbered code (JSON). |
.wsdl | OrderService.wsdl | No preview | Coloured, numbered code (XML). |
.xml | logback.xml | Raw text | Coloured, numbered code (XML). |
.xsd | orders.xsd | No preview | Coloured, numbered code (XML). |
.xsl, .xslt | order-to-html.xsl | No preview | Coloured, numbered code (XML). |
.yaml | deployment.yaml | No preview | Coloured, numbered code (YAML). |
.yml | ci.yml | No preview | Coloured, numbered code (YAML). |
| Files | Example | Quick Look today | With DevPeek |
|---|---|---|---|
.apinotes | PeekKit.apinotes | No preview | Coloured, numbered code (YAML). |
.entitlements | Ledger.entitlements | No preview | Coloured, numbered code (XML). |
.mode0, .mode0v3, .mode1, .mode1v3, .mode2, .mode2v3, .mode3, .mode3v3, .perspective, .perspectivev3 | don.mode0 | No preview | Coloured, numbered code (Xcode project). |
.pbxproj | project.pbxproj | No preview | Coloured, numbered code (Xcode project). |
.plist | Info.plist | Raw text | Coloured, numbered code (XML). |
.storyboard | Main.storyboard | No preview | Coloured, numbered code (XML). |
.strings | Localizable.strings | No preview | Coloured, numbered code (.strings). |
.stringsdict | Localizable.stringsdict | No preview | Coloured, numbered code (XML). |
.tbd | libPeekKitC.tbd | No preview | Coloured, numbered code (YAML). |
.xcfilelist | Resources.xcfilelist | Raw text | Coloured, numbered code (text with # comments). |
.xcprivacy | PrivacyInfo.xcprivacy | No preview | Coloured, numbered code (XML). |
.xcscheme | Ledger.xcscheme | No preview | Coloured, numbered code (XML). |
.xcstrings | Localizable.xcstrings | Raw text | Coloured, numbered code (JSON). |
.xctestplan | Ledger.xctestplan | Raw text | Coloured, numbered code (JSON). |
.xcworkspacedata | contents.xcworkspacedata | No preview | Coloured, numbered code (XML). |
.xib | Window.xib | No preview | Coloured, numbered code (XML). |
| Files | Example | Quick Look today | With DevPeek |
|---|---|---|---|
.adoc, .asciidoc | README.adoc | Raw text | Coloured, numbered code (AsciiDoc). |
.bib | references.bib | Raw text | Coloured, numbered code (BibTeX). |
.md, .markdown, .mdown, .mkd, .mkdn, .mdwn, .mdtxt, .mdtext | README.md | Raw text | Rendered document: headings, lists, tables, code blocks. |
.mdx | latency.mdx | Raw text | Rendered document: headings, lists, tables, code blocks. |
.org | notes.org | Raw text | Coloured, numbered code (Org). |
.qmd | model-refresh.qmd | Raw text | Rendered document: headings, lists, tables, code blocks. |
.rmd | sales-review.rmd | Raw text | Rendered document: headings, lists, tables, code blocks. |
.rst | README.rst | Raw text | Coloured, numbered code (reStructuredText). |
.tex | paper.tex | Raw text | Coloured, numbered code (TeX). |
| Files | Example | Quick Look today | With DevPeek |
|---|---|---|---|
CODEOWNERS | CODEOWNERS | No preview | Coloured, numbered code (text with # comments). |
.development | .env.development | Raw text | Plain text with line numbers. Values hidden by default, so a secret never reaches the screen. |
.editorconfig | .editorconfig | No preview | Coloured, numbered code (INI). |
.env, .local, .env | sample.env | Raw text | Plain text with line numbers. Values hidden by default, so a secret never reaches the screen. |
.envrc | .envrc | No preview | Coloured, numbered code (shell). Values hidden by default, so a secret never reaches the screen. |
.example, .sample | .env.example | Raw text | Plain text with line numbers. Values hidden by default, so a secret never reaches the screen. |
.gitignore | .gitignore | No preview | Coloured, numbered code (ignore file). |
.netrc | .netrc | No preview | Plain text with line numbers. Values hidden by default, so a secret never reaches the screen. |
.npmrc | .npmrc | No preview | Coloured, numbered code (INI). Values hidden by default, so a secret never reaches the screen. |
.production | .env.production | Raw text | Plain text with line numbers. Values hidden by default, so a secret never reaches the screen. |
.staging | .env.staging | Raw text | Plain text with line numbers. Values hidden by default, so a secret never reaches the screen. |
.test | .env.test | Raw text | Plain text with line numbers. Values hidden by default, so a secret never reaches the screen. |
.zshrc | .zshrc | No preview | Coloured, numbered code (zsh). |
DevPeek adds previews where macOS has none. It never replaces one that already works.
macOS always uses its own previewer for CSV and already shows it as a basic table.
Text files, LICENSE and README stay with the macOS text preview. HTML and SVG are rendered by macOS already.
Xcode ships its own Quick Look extension for .mobileprovision and .provisionprofile, and it is good.
.ts.ts is also a video format. Taking it over would stop .ts videos playing in Quick Look. .tsx is covered.
None of these are screenshots. They show how each sample file displays, produced the way each side would produce it. The "Quick Look today" side is macOS's own rendering of the sample, made by macOS's Quick Look machinery on the macOS version noted on each answer, checked on the date noted on each answer: Apple's font, Apple's wrapping, no colour, no line numbers. The "With DevPeek" side is the same sample through DevPeek's preview extension, with default settings, in light and dark appearance.
Where the page says "No preview", macOS had no previewer for that type on that version and date: pressing space in Finder shows only the file's icon and name, and nothing from inside the file. The dashed placeholder stands in for that icon, because the icon itself depends on which apps are installed on your Mac. A later macOS could add a previewer, which is why the version and date are stated.
Every sample is a generic file written for this page, so nothing here is anyone's real code or data.
Something missing? Tell us which file type and what you would expect to see.