.c File — C Source Code
text/x-csrc
Drop any file to identify its extension and type — runs entirely in your browser
Drop a .c file here or click to choose
Or drop any file to identify its extension
text/x-csrcQuick Facts
| Extension | .c |
| Full Name | C Source Code |
| MIME Type | text/x-csrc |
| Category | Code |
| Type | Text-based (human-readable) |
| Typical Size | 1 KB – 100 KB |
| First Appeared | 1972 |
What Is a .c File?
C is one of the most influential programming languages in computing history, developed by Dennis Ritchie at Bell Labs between 1969 and 1973. C files contain source code in this compiled, statically-typed, procedural language that provides low-level access to memory through pointers while maintaining enough abstraction for structured programming. C is the language of operating systems — Linux, Windows, macOS, and virtually all Unix variants are written primarily in C. The language is also used for embedded systems, device drivers, databases (PostgreSQL, SQLite, Redis), interpreters (CPython, Ruby MRI), compilers, and performance-critical applications. C provides direct control over hardware, manual memory management, and minimal runtime overhead, making it essential wherever performance and resource efficiency are paramount. The C standard has evolved through C89/C90, C99, C11, C17, and C23, each adding features while maintaining backward compatibility. C's influence is enormous — it directly inspired C++, Objective-C, C#, Java, JavaScript, Go, Rust, and many other languages. Understanding C provides foundational knowledge of how computers actually work at the systems level.
How to Open .c Files
Related File Extensions
More Code File Extensions
Other code formats you might encounter
Browse File Extensions by Category
Explore our reference of 259 file extensions with details, programs, and related formats.