.PROJECT

PROJECT File

Eclipse IDE Project Description File
Ask a question
QUICK ANSWER

A .project file is an Eclipse IDE project descriptor - a small UTF-8 XML file that Eclipse places in every project's root folder. Open it by importing the containing folder into Eclipse (File > Import > Existing Projects into Workspace). Because it is plain XML, any text editor shows its contents too.

Developer: Eclipse Foundation Category: Developer Files Open standard MIME: application/xml
OPENS ON Windows macOS Linux
Related: .DO · .MD · .HEX · .XSD

On this page

19k+ extensions indexed
Last reviewed Jul 2, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the PROJECT file format?

A .project file is an XML descriptor that Eclipse IDE places in the root directory of every workspace project. It is the primary metadata file that identifies a folder as an Eclipse project and is read each time Eclipse opens the workspace. The file is auto-generated by the IDE but is normally committed to version control so that other developers can import the project without manual reconfiguration.

The XML root element is <projectDescription>, containing child elements for the project <name>, an optional <comment>, a <projects> list of referenced project dependencies, a <buildSpec> section listing registered builders (such as org.eclipse.jdt.core.javabuilder for Java incremental compilation), and a <natures> section identifying the project type (for example, org.eclipse.jdt.core.javanature for Java projects or org.eclipse.pde.PluginNature for Eclipse plug-in projects).

Eclipse reads and writes this file via the IProjectDescription interface in the org.eclipse.core.resources bundle. The format has been stable since Eclipse 3.x (2004). All Eclipse-based IDEs - including Spring Tool Suite, Zend Studio, and older MyEclipse - share the same .project format. Tools such as IntelliJ IDEA and VS Code (with Eclipse-compatibility extensions) can import .project files when migrating projects. Deleting the file causes Eclipse to lose all project metadata for that directory.

Security & safety

RISK: LOW

Plain XML config file generated by the IDE; no executable code. A maliciously crafted .project could reference linked resources pointing to arbitrary filesystem paths (path traversal in Eclipse workspace), but this requires the victim to import it into Eclipse and execute a build.

Format details

in a nutshell
FULL NAMEEclipse IDE Project Description Fileaka .project file, Eclipse project descriptor
DEVELOPEREclipse Foundationsince 2001 (Eclipse 1.0)
MIME TYPEapplication/xml
TYPEXML text file
STANDARDOpen · royalty-free
This extension is also used by…
  • IntelliJ IDEA Eclipse import - IntelliJ reads .project to import Eclipse projects, but uses its own .iml format natively.
  • Spring Tool Suite (STS) - Eclipse-based IDE that creates and reads .project files identically to upstream Eclipse.

Programs that open PROJECT files

Windows4 apps
Eclipse IDE Open-source File → Import → General → Existing Projects into Workspace → select the folder containing .project.
Zend Studio Paid File → Import → Existing Projects into Workspace.
Spring Tool Suite (STS) Open-source File → Import → Existing Projects into Workspace - same as Eclipse, STS is Eclipse-based.
Notepad++ (view/edit only) Open-source Open the file as XML to inspect or manually edit project metadata.
macOS2 apps
Eclipse IDE Open-source File → Import → General → Existing Projects into Workspace.
Spring Tool Suite (STS) Open-source Same Eclipse-standard import flow.
Linux1 app
Eclipse IDE Open-source File → Import → General → Existing Projects into Workspace.

Technical details

deep spec
File formatXML (UTF-8 encoded plain text)
Root element<projectDescription>
File locationAlways in the root directory of the Eclipse project
Key child elements<name>, <comment>, <projects>, <buildSpec>, <natures>
Builder registration<buildSpec> lists incremental build commands (e.g., org.eclipse.jdt.core.javabuilder for Java)
Nature identifiers<natures> defines project type (e.g., org.eclipse.jdt.core.javanature for Java, org.eclipse.pde.PluginNature for plugins)
API mappingRead/written via IProjectDescription interface in org.eclipse.core.resources bundle
Typical size1-10 KB
EncodingUTF-8
Version controlNormally committed to VCS; enables project import without manual IDE reconfiguration
Format stabilityStable since Eclipse 3.x (2004); unchanged across current Eclipse releases
Cross-IDE compatibilityUsed by Spring Tool Suite, Zend Studio; importable by IntelliJ IDEA and VS Code with Eclipse plugins
Loss on deletionDeleting the file causes Eclipse to lose all project metadata for that directory
Released2001 (Eclipse 1.0)
Latest versionNo formal versioned spec; format stable since Eclipse 3.x (2004)
Open standardYes · royalty-free
Specificationhelp.eclipse.org

PROJECT conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with PROJECT files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about PROJECT files.

Frequently asked questions

Can I delete the .project file?
You can, but Eclipse will lose all project metadata (name, builders, natures). Recreate it by closing the project and re-importing the directory, or let Eclipse regenerate it by creating a new project in the same location.
Should I commit .project to Git?
Generally yes for Eclipse-based teams - it preserves project type, builders, and dependency links. Add it to .gitignore only if the team uses a different IDE exclusively.
Why does Eclipse say 'project already exists' when importing?
A project with that <name> is already in the workspace. Close or remove the existing project first (without deleting contents), then re-import.
Can IntelliJ IDEA open a .project file?
Yes - use File → New → Project from Existing Sources and choose Eclipse as the project type. IntelliJ reads .project and .classpath then creates its own .iml configuration.
What are 'natures' in a .project file?
Nature IDs tell Eclipse what kind of project it is (Java, PHP, C++, Maven etc.) so the correct tooling, builders, and menus are activated.

References

1Eclipse Platform Doc - Project description file formathelp.eclipse.org
2Eclipse Foundation - IProjectDescription APIhelp.eclipse.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.RPMSGRestricted Permission Message
6.BINCD/DVD Disc Image (BIN/CUE)
7.EXEWindows Executable (Portable Executable)
8.M4AMPEG-4 Audio File
9.ICSiCalendar data file
10.XDWDocuWorks Document

Related extensions

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z