obfus.link

Dev Unit Converter handles developer-specific unit categories that generic converters miss: data with IEC/SI base toggle, CSS units with configurable viewport and font-size, LLM tokens with model-specific tokenizer ratios for GPT-4, Claude, Llama-3, and Gemini, plus time and frequency. Every conversion returns the numeric result, a formatted string, and the formula.

Tier 1converters✓ TDD Verified

Dev Unit Converter

Convert data, tokens, CSS, and time units with LLM tokenizer ratios

Ctrl+Enter to convert

How to use

  1. Select categorydata, tokens, css, time, or frequency.
  2. Enter value and unitsProvide the numeric value and source/target units.
  3. Configure optionsFor data: choose IEC (1024) or SI (1000). For tokens: pick the LLM model. For CSS: set base font size and viewport.
  4. ConvertClick Convert or press Ctrl+Enter. The result shows the formatted value and the exact formula used.
Read technical article

MCP / API

Call dev_unit_converter directly from any MCP-compatible agent:

// MCP TypeScript SDK
const result = await client.callTool({
  name: "dev_unit_converter",
  arguments: {
    "value": 0,
    "from": "...",
    "to": "...",
    "category": "data"
  }
});

// curl
curl -X POST https://obfus.link/mcp \
  -H "Authorization: Bearer <SPT>" \
  -H "Content-Type: application/json" \
  -d '{"method":"tools/call","params":{"name":"dev_unit_converter","arguments":{"value":0,"from":"...","to":"...","category":"data"}}}'

Related tools

Epoch Converter
Convert any date format to all others with multi-timezone output
YAML to .env
Convert YAML config to .env format with secret scanning
Base64 Codec
Encode, decode, and identify base64 with auto-detection

FAQ

What is the difference between KB and KiB?

KB (kilobyte) in SI units equals 1,000 bytes. KiB (kibibyte) in IEC units equals 1,024 bytes. Hard drive manufacturers use SI (1,000-based), while operating systems typically report sizes in IEC (1,024-based). Select the base using the IEC/SI toggle in the data category.

Why do token-to-word ratios differ between models?

Different models use different tokenizers. GPT-4 and GPT-4o average roughly 0.75 words per token. Claude models average about 0.68 words per token due to a different tokenizer. Llama-3 averages 0.72 and Gemini 0.70. These are approximations — actual ratios vary by language and content type.

How do I convert vw or vh CSS units?

Select the css category, choose vw or vh as source or target unit, and enter your viewport width (for vw) or height (for vh) in the configuration fields. The conversion requires knowing the viewport dimensions.

Can I use this tool via the MCP API?

Yes. The tool is registered on the obfus.link MCP server at https://obfus.link/mcp. Call it from any MCP-compatible agent with a Shared Payment Token. The MCP tool name matches the snake_case slug shown in the integration snippet.