Idea: Currency converter

Would be great to be able to highlight a currency and get a popup of conversion into your preferred currency. Just like how the default translate works. :smiling_face_with_three_hearts:


Great suggestion, thank you!

1 Like

I’m interested in gathering examples of the kind of input that might be fed to a Currency converter extension. I’m thinking symbols, number formats, etc. Can you post examples of any specific texts you might select and want to convert?

Hey Nick, sure. I’ll just add some here:

2,000 USD
2000 USD
15 €
€15,50 (the use Commas in Europe, where we use Full stop in UK)
15,50 EUR
12.50 NOK
12.50 AED

I’ll add more when I can think of them. Hope this helps.

1 Like

Perfect, this stuff really helps. Getting the intended behavour right is really the hardest part of these things. Actually making it work is the easy part, usually.

Some working notes:

As I thought, there is an ISO standard for currency codes: ISO 4217 - Currency Codes

Also it seems this JS library might be some help: currency-symbol-map - npm

Just need to figure out a data source for the exchange rates. Ideally a public API with a reasonable free tier… there seem to be loads of them: is one.

This looks nice: money.js / fx() - javascript currency conversion library
As does this:

1 Like

Hi Nick,

@bobacks examples look good.

I’m just adding cents example: $8.80
I extracted it from, where I often need to convert before buying.

1 Like

Yeah, I’m pretty sure every currency has a decimal point (could be wrong). I just listed a few different currency types.

This would be super useful.

As an input, this kind of thing would be helpful:
20USD in yen
£5 in yen
CAD199.99 in yen
EUR50 in yen
15,000円 in USD

Here in Japan we actually don’t have a decimal point in the currency (except in currency trading and the stock market), so some rounding might be handy. Although I’m used to doing it myself. :sweat_smile:

How about a user specification as a fallback if there’s no ‘to’ currency specified?
Like, if mine is set to yen, this:
…would always result in a conversion to yen (hopefully with rounding), whereas this:
¥2000 to USD
…would convert to the specified ‘to’ currency.

Hmm, it would also need to know that when I say ¥ I mean yen and not yuan (RMB)…

Or even sweeter:
2000 to USD
…understanding that I want to convert from yen, because that’s my specified default.

1 Like

Indeed, my thinking is that the extension will have an option with a drop-down to select a “target” currency. All conversions would be performed to that target currency.

Adding the “in” / “to” I hadn’t actually though of, but makes sense as a tool to assist writing.

it would also need to know that when I say ¥ I mean yen and not yuan (RMB)

Good point. The same would apply to $ which could be canadian dollar or australian dollar. I’m sure there are other examples.

Thanks for the input @cfryal, and @vinicius !

1 Like

Hi @nick thank you for considering to build this into PopClip. Has there been any updates on this currency converter PopClip extension?

Keep up the great work :pray:

Nope but this thread will be the first to know!


Some other examples it could use:

₹69.91 billion

US$930 million

1 Like