Click the "Select File" button above, and choose your INC file.
You’ll see a preview, if available.
Click the "Convert file to..." button to extract text information.
Convert INC to another file type
To convert INC Include files to another format, you need Visual Studio Code or other Developer software.
Convert a file to INC
To convert other file formats to the "Include Source Code File" file type, you need software like Visual Studio Code or a similar tool.
About INC files
An .INC file is a text-based Include file used heavily in programming, web development, and software configuration. It contains raw code snippets, variables, or functions intended to be injected into a larger master script during execution or compilation. Typical use cases span PHP server-side web development, Active Server Pages (ASP), Rainmeter desktop customization skins, and Pawn scripting for game modifications like San Andreas Multiplayer.
While highly useful for keeping code DRY (Don't Repeat Yourself), .INC files suffer from severe practical disadvantages. They are not standalone executable files. Because the .inc extension does not dictate the specific coding language used inside - it could be Fortran, Assembly, C, or HTML - modern text editors often fail to apply correct syntax highlighting automatically. Furthermore, using .INC files on web servers is a known security hazard. If a server is not configured to explicitly parse or block .inc requests, it will serve the file as plain text to anyone who asks, instantly exposing database passwords, API keys, and proprietary source code to the public web.
To mitigate these issues, you often need to convert these files. For web security and proper server processing, convert .INC to PHP or ASP. For easier editing and configuration sharing, convert to TXT or INI. For archiving or sharing code snippets with non-developers, convert to PDF. Drop your file here to view and convert it securely right in your browser.
Convert.Guru analyzes your INC file, detects the exact format, and lets you read the text inside.
If you want to convert INC file to JS, TS, PY, JAVA, CPP, C, CS, PHP, RB, GO, RS or SWIFT, you can use Visual Studio Code or similar software from the "Source Code Fragment" category. In the File menu, look for Save As… or Export….
To convert SH, PY, KT, PS1, SWIFT, LUA, PL, JAVA, SCALA, JS, VBS or TS files to INC, try Visual Studio Code or another comparable tool in the "Source Code Fragment" category.
The INC Converter Story
The history of Convert.Guru began over 25 years ago in California with Tom Simondi’s file-format database. A former contributor to Space Shuttle development and a software pioneer of the 1980s, Simondi established a trusted resource for file type analysis that was even referenced by Microsoft Windows XP. Today, we use modern technology to process and convert thousands of file formats while continually improving our INC converter.