In this article, we introduce a new concept of Hausdorff distance through generalized modular metric on nonempty compact subsets and study some topological properties of it. This concept with contraction theory and the iterated function system (IFS) helps us to define a generalized modular fractal space.