M Converter

Extract text from MATLAB and Objective-C files (M)


Drop or upload your .M file

How to extract text from your M file

  1. Click the "Select File" button above, and choose your M file.
  2. You’ll see a preview, if available.
  3. Click the "Convert file to..." button to extract text information.

Convert M to another file type

To convert M code files to another format, you need MATLAB or other Developer software.

Convert a file to M

To convert other file formats to the "Source Code File" file type, you need software like MATLAB or a similar tool.


About M files

The .m file extension is a multi-purpose format most famous for storing source code. In the engineering world, it serves as a script, function, or class file for MATLAB, a numeric computing environment developed by The MathWorks. In software development, .m is the standard extension for an Objective-C implementation file used extensively in macOS and iOS app development via Apple Xcode. Less commonly, but frequently found taking up space on mobile devices, .m files act as internal vector map tile caches for Google Maps on Android.

Dealing with .m files can be highly frustrating. Because the extension is shared by entirely different ecosystems, your operating system will often open a MATLAB engineering script in Apple's Xcode, or vice versa, breaking your workflow. Furthermore, if you need to share a MATLAB script or Objective-C code with a client, manager, or non-developer, they will not be able to read it without installing a costly IDE or a specialized text editor. The Android cache variant is even more problematic; it is proprietary, undocumented binary data that cannot be easily viewed or reused outside the Android OS.

To make these files universally readable, you must convert them. Drop your file here to view and convert it securely right in your browser. For sharing code with non-programmers or for archiving purposes, convert the .m file to PDF to lock the syntax formatting. If you want to publish the code on the web, convert it to HTML. For basic cross-platform compatibility, simply convert it to a standard TXT file. Note: Android cache .m files are proprietary binary files and generally cannot be converted into readable maps.

Convert.Guru analyzes your M file, detects the exact format, and lets you read the text inside.

Users also converted MAT, MLX, ASV, SLX, PY, FIG, JPG, BIN, PRO, NPY, PDF, C and DOCX files.


FAQ

If you want to convert M file to KM, M2, NM, CSV, JSON, XML, YAML, YML, TOML, INI, CFG or CONF, you can use MATLAB or similar software from the "Source Code and Cache Storage" category. In the File menu, look for Save As… or Export….

To convert DBF, XML, SQLITE, XLSX, SQL, TSV, ACCDB, YAML, MDB, CSV, ODS or JSON files to M, try MATLAB or another comparable tool in the "Source Code and Cache Storage" category.



The M 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 M converter.