Web2Markdown / File Types
125 text file types, grouped the way the editor groups them.
The Web2Markdown desktop editor opens, edits, and saves every suffix below. Markdown and HTML have their own preview tools; other formats use source editing.
How file support works
The Web2Markdown desktop editor opens, edits, and saves 125 kinds of text file, listed below exactly as the editor groups them. The Open dialog offers an All Supported Text filter and each group as its own filter. Save As shows every supported suffix with its format name and lets you search by extension, format, or category before the native dialog opens. Typed unlisted suffixes and extensionless filenames remain available through All Files.
Existing LF, CRLF, or CR line endings are preserved, and likely binary files are rejected before they reach the editor. Markdown has its writing preview, formatting and rich export; HTML has a separate sandboxed visual preview and element tools. Other formats open as source editors. Explicit HTML/Markdown conversion is separate from Save As. Describes desktop 2.8.5 and extension 1.7.3. Windows installation checks have passed. Chrome testing and everyday workflow review remain in progress.
Markdown (2)
Preview, outline, Markdown formatting, image insertion, and rich export are enabled for these documents.
| Extension | Format |
|---|---|
.md | Markdown |
.markdown | Markdown |
Plain Text and Logs (4)
Plain source editing with search, line-ending preservation, and the safe fallback for anything unrecognized.
| Extension | Format |
|---|---|
.txt | Plain Text |
.text | Plain Text |
.log | Log |
.out | Program Output |
Structured Data (11)
Exact syntax highlighting for the JSON, XML, YAML, and TOML families, and Document Check findings for every format in this group.
| Extension | Format |
|---|---|
.json | JSON |
.jsonc | JSON with Comments |
.json5 | JSON5 |
.jsonl | JSON Lines |
.ndjson | Newline-Delimited JSON |
.yaml | YAML |
.yml | YAML |
.toml | TOML |
.xml | XML |
.csv | CSV |
.tsv | TSV |
Configuration and Environment (16)
Dotenv files use the .env or .env.variant name. Document Check covers dotenv; the rest open as plain source.
| Extension | Format |
|---|---|
.env | Dotenv |
.ini | INI Configuration |
.cfg | Configuration |
.conf | Configuration |
.config | Configuration |
.properties | Java Properties |
.editorconfig | EditorConfig |
.gitconfig | Git Configuration |
.gitignore | Git Ignore Rules |
.gitattributes | Git Attributes |
.dockerignore | Docker Ignore Rules |
.npmrc | npm Configuration |
.yarnrc | Yarn Configuration |
.eslintignore | ESLint Ignore Rules |
.prettierignore | Prettier Ignore Rules |
.browserslistrc | Browserslist |
Web and Templates (14)
Markup, styles, and component or template files open as source editors.
| Extension | Format |
|---|---|
.html | HTML |
.htm | HTML |
.css | CSS |
.scss | SCSS |
.sass | Sass |
.less | Less |
.svg | SVG |
.vue | Vue Component |
.svelte | Svelte Component |
.astro | Astro Component |
.hbs | Handlebars Template |
.handlebars | Handlebars Template |
.mustache | Mustache Template |
.ejs | EJS Template |
JavaScript and TypeScript (8)
Every module flavor, including ES module and CommonJS suffixes.
| Extension | Format |
|---|---|
.js | JavaScript |
.mjs | JavaScript ES Module |
.cjs | CommonJS JavaScript |
.jsx | JSX |
.ts | TypeScript |
.mts | TypeScript ES Module |
.cts | CommonJS TypeScript |
.tsx | TSX |
Shell and Automation (9)
Unix shells, PowerShell, and Windows batch and command scripts.
| Extension | Format |
|---|---|
.sh | Shell Script |
.bash | Bash Script |
.zsh | Zsh Script |
.fish | Fish Script |
.ps1 | PowerShell Script |
.psm1 | PowerShell Module |
.psd1 | PowerShell Data File |
.bat | Windows Batch File |
.cmd | Windows Command Script |
Programming Source (38)
Thirty-eight source suffixes. These open as plain source editors; the editor does not compile, run, or lint them.
| Extension | Format |
|---|---|
.py | Python |
.pyw | Python Windowed Script |
.rb | Ruby |
.php | PHP |
.java | Java |
.kt | Kotlin |
.kts | Kotlin Script |
.c | C |
.h | C Header |
.cpp | C++ |
.hpp | C++ Header |
.cc | C++ |
.cxx | C++ |
.cs | C# |
.go | Go |
.rs | Rust |
.swift | Swift |
.dart | Dart |
.lua | Lua |
.r | R |
.sql | SQL |
.graphql | GraphQL |
.gql | GraphQL |
.proto | Protocol Buffers |
.scala | Scala |
.sc | Scala Script |
.clj | Clojure |
.cljs | ClojureScript |
.cljc | Clojure Common |
.edn | EDN |
.ex | Elixir |
.exs | Elixir Script |
.erl | Erlang |
.hrl | Erlang Header |
.fs | F# |
.fsx | F# Script |
.vb | Visual Basic |
.groovy | Groovy |
Build and Infrastructure (10)
Build definitions, infrastructure as code, and systemd units.
| Extension | Format |
|---|---|
.gradle | Gradle Build Script |
.mk | Makefile |
.make | Makefile |
.cmake | CMake |
.ninja | Ninja Build |
.tf | Terraform |
.tfvars | Terraform Variables |
.hcl | HCL |
.service | systemd Service Unit |
.timer | systemd Timer Unit |
Documentation and Publishing (8)
Other lightweight markup and publishing formats. Preview and export stay Markdown-only.
| Extension | Format |
|---|---|
.rst | reStructuredText |
.adoc | AsciiDoc |
.asciidoc | AsciiDoc |
.tex | TeX |
.bib | BibTeX |
.org | Org Mode |
.textile | Textile |
.wiki | Wiki Text |
API and Request Files (5)
Request files and API description formats.
| Extension | Format |
|---|---|
.http | HTTP Request |
.rest | REST Request |
.raml | RAML |
.wsdl | WSDL |
.xsd | XML Schema |
Document Check coverage
Document Check is local, read-only, dependency-free, and capped at 200 findings. It reports errors and warnings for JSON, JSON Lines, NDJSON, XML, YAML, TOML, dotenv, CSV, TSV, and Markdown frontmatter and code fences, plus trailing whitespace and mixed indentation for every editable text file. Warnings do not claim a document is invalid, and the check does not replace the target system's own validation.
Exact syntax highlighting covers the JSON, XML, YAML, and TOML families and Markdown. Other formats open with plain-text presentation.
Frequently asked questions
How many file types does Web2Markdown support?
Web2Markdown supports 125 explicit file suffixes across 11 groups, plus dotenv names such as .env and .env.local and extensionless text files. Unknown suffixes still open through the All Files choice as plain text.
Can Web2Markdown convert between file formats?
Explicit HTML-to-Markdown and Markdown-to-HTML tools are available. Save As changes the filename and editor mode without translating JSON into YAML or one programming language into another. Markdown export produces PDF, DOCX, HTML, or plain text.
Does every format get a preview?
No. Markdown has its writing preview and rich exports. HTML has a separate sandboxed visual preview, source editing, element tools and device-width views. Other formats use source editing; Markdown formatting does not apply to them.
How are .env files handled?
Dotenv files are saved as .env or a named variant such as .env.local, never as variant.env. Document Check reports dotenv findings locally. These files often contain secrets, so share a sanitized example when you ask for help.
Will the file type list change?
The catalog ships inside the desktop app, so a release can add formats. This page reflects desktop 2.8.5. The in-app Help Center lists the exact catalog for your installed version.