مُصَلِّح ملفات خصائص جافا

بياناتمطورنص
إعلان · حذف؟
Java .properties Format Reference

Java .properties files store configuration as flat key=value pairs. They are widely used by Java SE, Spring Boot, Logback, Hibernate, and ResourceBundle for i18n.

Separators

Keys and values can be separated by =, :, or whitespace. Whitespace around the separator is ignored.

تعليقات

الأسطر التي تبدأ بـ # أو ! are comments. Inline comments after a value are لا supported by the spec.

Line Continuations

A line ending with a single backslash \ continues onto the next line. Leading whitespace on the continuation line is stripped.

Escapes

Standard escapes: \n, \t, \r, \f, \\, \=, \:, \ . Unicode escapes use \uXXXX with exactly four hex digits.

No Sections

Unlike INI, .properties has a flat namespace. Hierarchy is conveyed through dotted keys, e.g. spring.datasource.url.

إعلان · حذف؟

مرشد

Java Properties File Formatter

مُصَلِّح ملفات خصائص جافا

This tool formats Java .properties files using the same rules the JDK uses to load them. It accepts =, :, or whitespace as a separator, recognises both # و ! comment styles, and joins backslash continuation lines into clean single-line key/value pairs. Use it on application.properties, logback.properties, ResourceBundle messages_*.properties, or any plain Java config you need to tidy up.

كيفية استخدام

  1. Paste your raw .properties content into the input box (or click اختر مثالًا).
  2. Pick a separator style: =, :, or preserve whatever the original line used.
  3. Choose spacing around the separator and a comment style (#, !, or preserve).
  4. Toggle options to sort keys, drop duplicates (keeping the last occurrence), align keys to a common width, trim trailing whitespace, or collapse repeated blank lines.
  5. Copy the formatted output, or download it as a .properties file. The validation panel flags duplicate keys and malformed \uXXXX escapes.

خصائص

  • Spec-correct parsing – handles =, :, whitespace separators, and backslash line continuations the same way java.util.Properties does.
  • Comment style normalization – convert all comments to # أو !, or preserve each line’s original prefix.
  • Sort and dedupe – alphabetise keys and drop earlier duplicates so the last occurrence wins (matching JVM load order).
  • Key alignment – pad keys to equal width for visually clean diffs and reviews.
  • Whitespace cleanup – trim trailing whitespace and collapse runs of blank lines.
  • التحقق من الصحة – warns on duplicate keys and reports invalid \uXXXX unicode escapes.
  • Live updates – output and validation refresh as you type or change options.

التعليمات

هل تريد حذف الإعلانات؟ تخلص من الإعلانات اليوم

تثبيت ملحقاتنا

أضف أدوات IO إلى متصفحك المفضل للوصول الفوري والبحث بشكل أسرع

أضف لـ إضافة كروم أضف لـ امتداد الحافة أضف لـ إضافة فايرفوكس أضف لـ ملحق الأوبرا

وصلت لوحة النتائج!

لوحة النتائج هي طريقة ممتعة لتتبع ألعابك، يتم تخزين جميع البيانات في متصفحك. المزيد من الميزات قريبا!

إعلان · حذف؟
إعلان · حذف؟
إعلان · حذف؟

ركن الأخبار مع أبرز التقنيات

شارك

ساعدنا على الاستمرار في تقديم أدوات مجانية قيمة

اشتري لي قهوة
إعلان · حذف؟