p0shkar94 downloadsPlugin to convert measurements between imperial and metric.
An Obsidian plugin for converting measurements between imperial and metric systems.
Select a measurement and run Convert selection from the command palette or editor context menu. The plugin recognizes common abbreviations, spelled-out units, mixed measurements, ranges, fractions, temperatures, and multiple values in text. It preserves surrounding text when converting.
You can also enter a measurement with Convert input (Auto/Metric/Imperial), preview conversions on hover, or optionally convert measurements as you paste. Auto conversion targets the opposite system when it can identify the source; otherwise, it uses your default target setting.
12 ft → 3.66 m5 ft 3 in → 1.60 m10-15 ft → 3.05 m-4.57 m12 ft → 12 ft (3.66 m)The board is 5 ft long and 2 in thick. → both values are converted in place.
Commands may have default hotkeys, and bindings can be customized or viewed in Obsidian's Settings → Hotkeys.
Enable inline hover previews to see a measurement's conversion without changing the note.
Auto-convert is off by default. When enabled, choose whether pasted text keeps both the original and converted values or inserts only the conversion. Change the output format in settings, from the command palette, or from the editor context menu.
Settings let you choose the default target system, output units, decimal precision and rounding mode, hover appearance, and US or UK / Imperial liquid measure conventions. Optional custom liquid factors are available for unqualified measures; explicit (US), (UK), or (Imperial) qualifiers use standard factors.
Length, mass, volume, and temperature units are supported, including common abbreviations and spelled-out aliases in English, Spanish, French, and German. Alias coverage is not exhaustive, and ambiguous or complex text may not always be parsed as intended.
UK cup and spoon defaults are fixed plugin values, but you can override them with custom liquid-measure factors. The defaults may differ from recipe conventions.
Parsing uses heuristics, so complex or ambiguous text may not convert as expected. Localized aliases are not exhaustive, and invalid fractions such as 1/0 in are ignored.
Suggestions for future features or updates are welcome. Please open an issue in the GitHub repository.
Suggestions and contributions are welcome. Please open an issue or pull request in the GitHub repository.
I'm not a developer, so this plugin is largely vibe-coded. It is functional, but may still contain rough edges, assumptions, and areas that need cleanup or hardening.
This project is licensed under the MIT License - see the LICENSE file for details.
Created by Oskar Norén. If you find the plugin useful, you can buy me a coffee.