# modelmapper/modelmapper

Intelligent object mapping

Repository: https://github.com/modelmapper/modelmapper
Canonical: https://ross.abutalabs.com/products/modelmapper
Homepage: http://modelmapper.org
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2025-11-11T08:56:49+00:00

## Health v2 (maintenance only)
Score: 55/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 51, release rhythm 35, longevity 100
- inputs: {"age_days": 5792, "days_push": 295, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2352, forks 345 (observed 2026-08-28T04:06:40.404247+00:00)

## What it is
ModelMapper is a Java library that intelligently maps objects to each other using convention-based matching, automatically determining how one object model maps to another. It provides a type-safe, refactoring-safe fluent API for handling special mapping cases, with integrations for Spring, Guice, Dagger, Jackson, Gson, jOOQ, and more.

## Use cases
- map entities to DTOs in a Java application
- convert between similar but differently structured object models
- flatten nested objects into flat DTOs automatically
- avoid writing boilerplate getter/setter mapping code
- map API request/response objects to domain models
- validate that object properties are fully mapped
- integrate object mapping with Spring Boot or jOOQ

## When to choose
- you're on the JVM and need automatic convention-based object-to-object mapping
- you want to eliminate manual mapping boilerplate between entities and DTOs
- you need a refactoring-safe, type-safe mapping API with customization hooks
- you want integrations with Spring, Guice, Jackson, Gson, or jOOQ

## When to avoid
- you need maximum runtime performance and prefer compile-time code generation like MapStruct
- your mappings are simple enough that hand-written mappers are clearer
- you're not on the JVM

## Facets
- artifact type: library
- maturity: stable
- function: serialization, developer-tools
- domain: developer-tools, backend, web-development
- platform: jvm
- tags: object-mapping, dto, java, convention-based-mapping, entity-to-dto

## Member repositories
- modelmapper/modelmapper (main) score 55

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:40.404247+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:36:52.880652+00:00, confidence not recorded.
  - readme: https://github.com/modelmapper/modelmapper (fetched 2026-08-28T04:06:40.404247+00:00, sha 41f2b602c1f0)
  - homepage: http://modelmapper.org (fetched 2026-08-29T10:17:16.495869+00:00, sha ef45187207c1)
  - site_page: http://modelmapper.org/getting-started (fetched 2026-08-29T10:17:16.504820+00:00, sha 09ce9bbc616b)
  - site_page: http://modelmapper.org/user-manual/integrations (fetched 2026-08-29T10:17:16.506744+00:00, sha 5299aac7790e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
