We study the formation of star clusters in molecular clouds by performing three-dimensional radiation hydrodynamics simulations with far ultraviolet (FUV; 6 eV ℎ𝜈 13.6 eV) and extreme ultraviolet (EUV; ℎ𝜈 13.6 eV) radiative feedback. We find that the FUV feedback significantly suppresses the star formation in diffuse clouds with the initial surface densities of Σ cl 50 M pc −2 . In the cases of clouds with Σ cl ∼ 100 − 200 M pc −2 , the EUV feedback plays a main role and decrease the star formation efficiencies less than 0.3. We show that thermal pressure from PDRs or H regions disrupts the clouds and makes the size of the star clusters larger. Consequently, the clouds with the mass 𝑀 cl 10 5 M and the surface density Σ cl 200 M pc −2 remain the star clusters with the stellar densities of ∼ 100 M pc −3 that nicely match the observed open clusters in the Milky Way. If the molecular clouds are massive (𝑀 cl 10 5 M ) and compact (Σ 400 M pc −2 ), the radiative feedback is not effective and they form massive dense cluster with the stellar densities of ∼ 10 4 M pc −3 like observed globular clusters or young massive star clusters. Thus, we suggest that the radiative feedback and the initial conditions of molecular clouds are key factors inducing the variety of the observed star clusters.