Click the "Select File" button above, and choose your MK file.
You’ll see a preview, if available.
Click the "Convert file to..." button to extract text information.
Convert MK to another file type
To convert your MK file to another format, you need GNU Make or other Developer software.
Convert a file to MK
To convert other file formats to the "Makefile Include" file type, you need software like GNU Make or a similar tool.
About MK files
A .mk file is most commonly a Makefile fragment or include file, utilized by build automation tools like GNU Make and the Android NDK (Native Development Kit) to define compile rules, flags, and dependencies. Unlike standalone scripts, these files - often named Android.mk or rules.mk - are plain text snippets designed to be 'included' into a main makefile. A common problem for users is that operating systems do not associate .mk extensions with text editors by default, leaving them unopenable without manually selecting a tool like Notepad++ or Visual Studio Code. Additionally, specialized environments like Android build systems use strictly formatted syntax that can be difficult to read without syntax highlighting.
Occasionally, a .mk file may be a truncated or renamed Matroska multimedia container (MKV), holding video, audio, and subtitle streams. In this scenario, media players often fail to recognize the extension despite supporting the underlying format.
Best Conversion Targets:
For Documentation/Review: Convert text-based makefiles to PDF to preserve code formatting and share build logic without risk of accidental edits.
For Quick Viewing: Convert to TXT to make the file universally readable on any device or OS without developer tools.
For Video Files: If the file is a renamed media container, convert to MP4 or WebP to ensure compatibility with browsers and standard players.
Convert.Guru analyzes your MK file, detects the exact format, and lets you read the text inside.
If you want to convert MK file to ZAR, K, JS, TS, PY, JAVA, CPP, C, CS, PHP, RB or GO, you can use GNU Make or similar software from the "Build Automation Script" 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 MK, try GNU Make or another comparable tool in the "Build Automation Script" category.
The MK 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 MK converter.