This README was generated by LLM and then edited by Aman.
Introduction
AutoHotkey Currency Instant Converter is a lightweight AutoHotkey (AHK) script that lets you convert currency amounts in-place inside any Windows application.
Just type an amount with a short currency expression like 4yentoinr, select it, and press Win + O. The script instantly replaces your selection with the correct conversion – e.g. ¥4 i.e. ₹2.37.
Ideal for writers, traders, and anyone juggling multiple currencies while working in editors, chats, emails, or web forms.
Features
- In-Place Conversion – Converts the selected text and replaces it with the formatted result—no copy-paste dance required.
- Extensive Alias Support – Recognizes 500+ currency aliases including:
- Colloquial terms (
bucks,quid,greenbacks) - City references (
mumbai→ INR,tokyo→ JPY) - Regional variations and common misspellings
- Fractional units (
paisa,cents,pence) - Historical references and slang terms
The comprehensive
aliases.jsonfile maps all these variations to their standard currency codes. - Colloquial terms (
- Hotkey Driven – Default shortcut Win + O is easy to reach and unlikely to conflict with standard app shortcuts. It’s also customisable to any shortcut you prefer.
- JSON-Based Rates – Reads live rates from
exchange_rates.json; swap in your own feed or update values manually.Exchange rates are fetched from coingecko, using this code and, unicodes are converted to the symbols using checkserp.
- AHK v2 Codebase – Modern syntax, better Unicode handling, and cleaner function calls.
- Open Source – Released under the MIT License. Fork it, learn from it, or integrate it into your own productivity suite.
Requirements
| Component | Version | Notes |
|---|---|---|
| Windows | 10 / 11 | Administrator rights not required. |
| AutoHotkey | v2.0 or newer | https://www.autohotkey.com/download/ |
| JSON Rates File | Included (exchange_rates.json) | Can be found at coingecko, just copy and paste the new values or replace the file. |
| (Optional) Git | Latest | For easy updates & contribution. |
Installation & Setup
Manual Installation
- Download or
git clonethis repository. - Double-click
scripts\auto complete\currency conversion.ahkto activate the script.You can also setup the ahk and the script folder location in
run inline currency converter ahk.bat - Type
4yentoinror4yen, highlight it, press Win + O ➜¥4 i.e. ₹2.38appears instantly.
Usage
Supported Input Pattern
converts from sourceCurrency to targetCurrency:
| |
converts from sourceCurrency to default currency:
| |
- Currency names: ISO codes(not case sensitive) (
usd,inr).
Keyboard Shortcuts
| Hotkey | Action |
|---|---|
| Win + O | Convert currently selected text. |
(All hotkeys can be remapped – see Customization).
Examples
| Before (select → Win+O) | After |
|---|---|
| 780000won | ₩780000 i.e. ₹48121.27 |
| 4yentoinr | ¥4 i.e. ₹2.38 |
| 100usdtoeur | $100 i.e. €88.16 |
| 1500inrtogbp | ₹1500 i.e. £13.03 |
| 75.47usdtowon | $75.47 i.e. ₩104686.94 |
| 50buckstopounds | $50 i.e. £37.21 |
| 200quidtorupees | £200 i.e. ₹23010.05 |
| 10bitcointousd | ₿10 i.e. $421750.00 |
How It Works
File Hierarchy
| |
Exchange-Rate Logic
The value is rounded to two decimals (configurable) and formatted with the correct currency symbol.
(Full rate table ships in the JSON – fiat, crypto & precious metals.)
Customization
| What | Where | Example |
|---|---|---|
| Hotkeys | scripts\auto complete\currency conversion.ahk | Change #o:: to ^!c:: for Ctrl+Alt+C et cetera |
| Decimal Places | currency conversion.ahk at Format("{1:.2f} | Format("{1:.4f} for 4 decimal places |
| Currency Aliases | data\aliases.json | Add your own regional terms or nicknames for currencies |
Author & Contact
- Aman Rathore
- Website: amanr.me
- GitHub: @AmanRathoreP | @AmanRathoreM
- Telegram: @aman0864
- Email: aman.proj.rel@gmail.com
- LinkedIn: @amanrathorep
- Instagram: @aman__0864
Feel free to reach out if you have any questions, suggestions, or issues regarding the plugin.
