Skip to content
Veltoryx Technologies

application.properties ⇄ YAML Converter

Two-way converter between Spring Boot application.properties and application.yml configuration formats with nested list and index support.

Runs in your browser. Nothing is uploaded.
Conversion Direction:
Notice:
  • Comments in .properties cannot be mapped to YAML AST and were omitted.
application.properties(514 bytes)
Converted YAML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
server:
  port: 8080
  servlet:
    context-path: /api/v1
spring:
  datasource:
    url: jdbc:postgresql://localhost:5432/orders_db
    username: postgres
    password: secret_password
    hikari:
      maximum-pool-size: 20
management:
  endpoints:
    web:
      exposure:
        include:
          - health
          - info
          - prometheus
  endpoint:
    health:
      show-details: always

How to use this tool

1
Paste properties or YAML

Paste your Spring Boot configuration into the active input panel.

2
Select conversion direction

Choose Properties → YAML or YAML → Properties with automatic formatting.

3
Copy clean configuration

Click 'Copy' to paste the converted file directly into src/main/resources.

Frequently Asked Questions

How are indexed array properties converted?

Properties like `server.ports[0]=8080` and `server.ports[1]=8081` convert into YAML lists under `server.ports: - 8080 - 8081`.

Are comments preserved during conversion?

Because YAML and properties have distinct comment and indentation models, comments are stripped during AST transformation to ensure clean syntax without parse errors.

Which format does Spring Boot prefer?

Spring Boot supports both equally. YAML is preferred for hierarchical readability, while properties files are common in legacy setups and microservice profile overrides.

How are relaxed binding and dashes handled?

Spring Boot relaxed binding treats `my-app.database-url` and `myApp.databaseUrl` equivalently. This tool preserves exact property naming.

📖 Related Lessons on Veltoryx Learn

Deepen your architecture knowledge with practical, production-tested guides:

Client-Side Privacy Guarantee

This tool never transmits your payloads to any server. Open DevTools (F12) → Network tab to verify that zero HTTP requests are sent while using this page.

🛡 Safe for confidential enterprise payloads