Conversor de PX a REM
Convierte entre píxeles, rem y em usando cualquier tamaño de fuente raíz.
Cómo usar
Convert CSS units
Enter a value, choose its unit and set the root font size. The tool shows the equivalent value in pixels, rem and em.
- Enter a number.
- Choose px, rem or em as the input unit.
- Set the root font size and copy the result.
Root font size
Browsers default to 16px, but users and CSS can change it. Set the root size to match the project you are working on.
Preguntas frecuentes
Are rem and em the same here?
For the root element they are identical. The converter treats em as relative to the configured root size for simplicity.
Why use rem?
Rem units scale with the user's root font size, which improves accessibility compared with fixed pixels.
Herramientas relacionadas
Formateador CSS
Embellece CSS con una propiedad por línea y sangría uniforme.
Conversor de mayúsculas y minúsculas
Convierte texto entre camelCase, PascalCase, snake_case, kebab-case y más.
Conversor de colores
Convierte colores entre HEX, RGB y HSL con una muestra de vista previa en vivo.
Generador de UUID/GUID
Genera UUID aleatorios de versión 4 y cópialos uno a uno o en bloque.
Generador de hash
Calcula resúmenes MD5, SHA-1, SHA-256 y SHA-512 de cualquier texto.
Conversor de marca de tiempo
Convierte entre marcas de tiempo Unix, ISO 8601 y fechas locales legibles.