CSS Unit Converter - Online PX, REM, EM, VW, % All in One
Convert any length between px, rem, em, vw, vh, %, and pt. Set base size for context. Ultimate frontend helper.
UD5 Toolkit
Convert between pixels, REM, and EM units for scalable CSS typography
REM = PX ÷ 16px
PX = REM × 16px
EM = PX ÷ 16px
<html> tag), which defaults to 16px in most browsers. This makes REM predictable and consistent across the entire document.1rem = 16px by default. Some developers use the 62.5% trick (html { font-size: 62.5%; }) to make 1rem = 10px for easier mental math, but this can cause issues with browser extensions and accessibility tools.
html { font-size: 62.5%; }, the root font size becomes 10px (62.5% of 16px). This makes conversions trivial: 24px = 2.4rem. However, this approach has fallen out of favor because it can interfere with browser extensions, accessibility settings, and may cause unexpected rendering in some edge cases.
html { font-size: 20px; }) or by the user through browser settings. That's the power of REM — it adapts to whatever the root font size is, making your design flexible and accessible.
font-size: 1.5em (24px if parent is 16px) and its child has font-size: 1.5em, the child will be 36px (24 × 1.5), not 24px. This compounding effect is why REM is often preferred for consistent typography.
Convert any length between px, rem, em, vw, vh, %, and pt. Set base size for context. Ultimate frontend helper.
Convert REM values to pixels and vice versa based on your root font size. Essential for scalable web typography.
Paste ASCII art or text‑based diagrams and convert them into a crisp SVG image. Preserves spacing and can be styled with CSS for documentation.
Estimate the human age equivalent of your goldfish. Learn about goldfish longevity and why proper care helps them live decades rather than months.
Translate your pet snake's age into human years. Select common species like ball python or corn snake for a rough human-age equivalent and life expectancy.
Convert common seam allowances between inches and centimeters. See visual guides for 1/4″, 3/8″, 1/2″, 5/8″, and more, to avoid cutting errors in your sewing projects.
Convert between nautical miles, statute miles, kilometers, and knots to mph/kmh. Essential for navigation.
Convert popular pet bird ages (budgie, cockatiel, macaw) to human years. Lifespan reference included. Fun educational tool.
Convert any text to upside down (flipped) characters using Unicode mappings. Copy and paste to social media. 100% local, no data sent.
Approximate conversion from eyeglass prescription to contact lens power. Uses vertex distance formula. For educational purposes only, consult your optometrist.
Enter CMYK values and find the closest Pantone Solid Coated color. For print design reference. Client‑side lookup.
Fill in a form and see the FormData object as JSON. Perfect for debugging multipart form submissions. Client-side.
Enter L*a*b* values and see the corresponding RGB and hex color. Useful for advanced color manipulation.
Analyze a monophonic audio recording and convert the pitch into a MIDI file. Perfect for capturing musical ideas. Client-side.
Change the bit depth of a WAV file without leaving the browser. Dithering option included. For audio engineers.
Change the sample rate of an audio file (e.g., 48kHz to 44.1kHz) without leaving the browser. Ideal for podcast prep.
Parse an SVG path’s d attribute and list all the commands and absolute coordinates. Convert relative to absolute. Local.
Convert hex or RGB to CIELAB L*a*b* values. Understand perceptual lightness and color opponents. Local math.
Convert any image into colored ASCII art using divs with background colors. Creates a stunning text‑based replica. View & copy HTML.
Type or paste Korean Hangul and see the revised romanization. Also works backwards for basic words. Study aid.
Enter a Kelvin value (1000‑40000) and see the approximate white‑balance color. Photography and lighting reference.
Convert a numeric amount into English words, perfect for writing checks or legal documents. Supports USD/GBP styles.
Encode short audio clips into Base64 data URIs for direct embedding in HTML5 <audio> tags. No external files needed.
Translate English text to Pig Latin and decode back. A classic word game for all ages. Rules-based translation runs in your browser.
Convert audio files between popular formats like WAV, MP3, and OGG directly in the browser. No upload, fast encoding using WebAudio and ffmpeg wasm.
Translate hexadecimal numbers to decimal integers. Instantly see the magnitude. A simple, private utility for developers and mathematicians.
Easily convert JSON data arrays into CSV format for Excel or database import. Handles nested structures with flattening options. All conversions happen locally, no data uploaded.
Convert angles between degrees, radians, and grads. Quick reference for mathematics and engineering. Simple and ad-free.
Convert speed units such as miles per hour, kilometers per hour, knots, and meters per second. Accurate and quick, works offline in your browser.
Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds. Ideal for developers debugging time-related code.