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.
Dev Unit Converter
Convert data, tokens, CSS, and time units with LLM tokenizer ratios
Ctrl+Enter to convert
How to use
- Select category — data, tokens, css, time, or frequency.
- Enter value and units — Provide the numeric value and source/target units.
- Configure options — For data: choose IEC (1024) or SI (1000). For tokens: pick the LLM model. For CSS: set base font size and viewport.
- Convert — Click Convert or press Ctrl+Enter. The result shows the formatted value and the exact formula used.
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
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.