.properties
🔧 ConfigText-based

.properties File — Java Properties File

text/x-java-properties

File Inspector

Drop any file to identify its extension and type — runs entirely in your browser

PROPERTIES

Drop a .properties file here or click to choose

Or drop any file to identify its extension

Expected MIME type:text/x-java-properties

Quick Facts

Extension.properties
Full NameJava Properties File
MIME Typetext/x-java-properties
CategoryConfig
TypeText-based (human-readable)
Typical Size100 B – 50 KB
First Appeared1995

What Is a .properties File?

Properties files are the standard configuration format for Java applications, storing key-value pairs as plain text with a simple key=value or key:value syntax. PROPERTIES files support comments (lines starting with # or !), Unicode escape sequences for international characters, multi-line values using trailing backslashes, and whitespace around the separator. The java.util.Properties class provides native read/write support, making properties files the simplest configuration mechanism in the Java ecosystem. Properties files are used for application settings, internationalization (resource bundles with locale-specific .properties files), logging configuration (log4j.properties), database connection parameters, and Spring Boot external configuration (application.properties). The format is intentionally simple — no nesting, sections, or data types beyond strings — which makes it easy to parse, edit, and manage. For more complex configuration needs, Java applications often use XML, YAML, or JSON formats. Spring Boot popularized using properties files alongside YAML as alternative configuration formats with identical capabilities. Properties files are commonly stored in src/main/resources in Maven/Gradle projects and loaded from the classpath at runtime.

How to Open .properties Files

VS Code
IntelliJ IDEA
Eclipse
any text editor
vim

Related File Extensions

More Config File Extensions

Other config formats you might encounter

Browse File Extensions by Category

Explore our reference of 259 file extensions with details, programs, and related formats.