-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcurrency-converter.html
More file actions
79 lines (78 loc) · 10.6 KB
/
currency-converter.html
File metadata and controls
79 lines (78 loc) · 10.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Free Currency Converter — Live Exchange Rates</title>
<meta name="description" content="Convert between 30+ currencies with approximate rates. USD, EUR, GBP, JPY, CHF, and more. Free online currency converter.">
<link rel="canonical" href="https://www.quicktools.mom/currency-converter.html">
<meta property="og:title" content="">
<meta property="og:description" content="">
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.quicktools.mom/currency-converter.html">
<meta name="twitter:card" content="summary">
<link rel="stylesheet" href="style.css">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2658921743607446" crossorigin="anonymous"></script>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Is Currency Converter free to use?","acceptedAnswer":{"@type":"Answer","text":"Yes! Currency Converter is completely free with no signup required. It runs entirely in your browser — your data never leaves your device."}},{"@type":"Question","name":"How do I use Currency Converter?","acceptedAnswer":{"@type":"Answer","text":"Simply enter your values in the input fields above and the results update instantly. No button clicks needed — everything calculates in real-time."}},{"@type":"Question","name":"Is my data safe with Currency Converter?","acceptedAnswer":{"@type":"Answer","text":"Absolutely. Currency Converter runs 100% client-side in your browser using JavaScript. No data is uploaded, stored, or shared with any server. Your privacy is guaranteed."}}]}</script>
</head>
<body>
<div class="page-wrapper">
<header class="site-header"><a href="index.html" class="site-logo"><span class="icon">⚡</span> QuickTools</a><nav class="site-nav"><a href="index.html">All Tools</a></nav></header>
<div class="ad-zone ad-zone-top">Ad Space</div>
<div class="tool-header"><div class="tool-badge">💱 Finance</div><h1>Currency Converter</h1><p>Convert between 30+ world currencies with approximate exchange rates.</p></div>
<div class="tool-card" style="text-align:center;">
<div style="display:flex;gap:1rem;align-items:center;flex-wrap:wrap;justify-content:center;">
<div><label>Amount</label><input type="number" id="amount" value="1000" min="0" step="1" oninput="convert()" style="font-size:1.3rem;text-align:center;max-width:180px;"></div>
<div><label>From</label><select id="from" onchange="convert()" style="font-size:1rem;"></select></div>
<button class="btn btn-secondary" onclick="swap()" style="font-size:1.2rem;padding:0.5rem;">⇄</button>
<div><label>To</label><select id="to" onchange="convert()" style="font-size:1rem;"></select></div>
</div>
<div id="result" style="font-size:2.5rem;font-weight:700;color:var(--accent-hover);margin-top:1.5rem;">—</div>
<div id="rate" class="text-muted" style="font-size:0.85rem;margin-top:0.3rem;"></div>
</div>
<div class="tool-card">
<h3 style="font-size:0.95rem;margin-bottom:0.75rem;">📊 Quick Reference</h3>
<div id="table" style="display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:0.5rem;"></div>
</div>
<div class="ad-zone">Ad Space</div>
<div class="related-tools"><h2>Related Tools</h2><div class="related-grid"><a href="unit-converter.html"><span class="tool-icon">📏</span> Unit Converter</a><a href="salary-calculator.html"><span class="tool-icon">💰</span> Salary</a><a href="percentage-calculator.html"><span class="tool-icon">🧮</span> Percentage</a><a href="compound-interest.html"><span class="tool-icon">📈</span> Compound Interest</a></div></div>
<div class="tool-card" style="max-width:720px;">
<h2 style="font-size:1rem;margin-bottom:0.75rem;">📖 About Currency Converter</h2>
<p style="font-size:0.85rem;line-height:1.7;color:var(--text-muted);margin-bottom:0.75rem;">Currency Converter is a free, browser-based tool designed for students, professionals, and anyone who needs quick calculations. Convert between 30+ currencies with approximate rates. USD, EUR, GBP, JPY, CHF, and more. Free online currency converter. Everything runs locally in your browser using JavaScript — no data is ever sent to a server, making it completely private and secure. The tool is designed to be intuitive and beginner-friendly while still offering advanced features for power users. It loads instantly with no installation required and works offline once loaded. Use it as often as you need — there are no daily limits, no watermarks, and no hidden fees.</p>
<p style="font-size:0.85rem;line-height:1.7;color:var(--text-muted);margin-bottom:0.75rem;"><strong>Who is this for?</strong> Currency Converter is ideal for professionals, students, freelancers, and hobbyists who want quick, reliable results without installing software or creating accounts. Whether you are on a laptop, tablet, or phone, it works seamlessly in any modern browser.</p>
<h3 style="font-size:0.9rem;margin-bottom:0.5rem;">How to Use</h3>
<ol style="font-size:0.85rem;color:var(--text-muted);line-height:1.7;padding-left:1.2rem;">
<li>Enter or paste your data in the input area above.</li>
<li>Adjust settings and options to match your needs.</li>
<li>View the results instantly — they update in real-time.</li>
<li>Copy, download, or share your output with one click.</li>
</ol>
</div>
<div class="tool-card faq-section">
<h2 style="font-size:1.1rem;margin-bottom:1rem;">❓ Frequently Asked Questions</h2>
<details style="margin-bottom:0.75rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem;"><summary style="font-weight:600;cursor:pointer;font-size:0.9rem;">Is Currency Converter free to use?</summary><p style="margin-top:0.5rem;font-size:0.85rem;color:var(--text-muted);line-height:1.6;">Yes! Currency Converter is completely free with no signup required. It runs entirely in your browser — your data never leaves your device.</p></details>
<details style="margin-bottom:0.75rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem;"><summary style="font-weight:600;cursor:pointer;font-size:0.9rem;">How do I use Currency Converter?</summary><p style="margin-top:0.5rem;font-size:0.85rem;color:var(--text-muted);line-height:1.6;">Simply enter your values in the input fields above and the results update instantly. No button clicks needed — everything calculates in real-time.</p></details>
<details style="margin-bottom:0.75rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem;"><summary style="font-weight:600;cursor:pointer;font-size:0.9rem;">Is my data safe with Currency Converter?</summary><p style="margin-top:0.5rem;font-size:0.85rem;color:var(--text-muted);line-height:1.6;">Absolutely. Currency Converter runs 100% client-side in your browser using JavaScript. No data is uploaded, stored, or shared with any server. Your privacy is guaranteed.</p></details>
</div>
<div class="ad-zone ad-zone-bottom">Ad Space</div>
<footer class="site-footer"><p>© 2026 QuickTools.</p><div class="footer-links"><a href="index.html">All Tools</a></div></footer>
</div>
<script>
const rates={USD:1,EUR:0.92,GBP:0.79,CHF:0.88,JPY:154.5,CAD:1.36,AUD:1.53,NZD:1.67,CNY:7.24,INR:83.4,BRL:4.97,MXN:17.1,KRW:1335,SGD:1.34,HKD:7.82,SEK:10.5,NOK:10.6,DKK:6.87,PLN:4.02,CZK:23.2,THB:35.8,TRY:32.4,ZAR:18.7,AED:3.67,SAR:3.75,RUB:91.5,PHP:56.2,IDR:15650,MYR:4.72,VND:24500,ARS:850,COP:3950,CLP:920,PEN:3.72,EGP:30.9,NGN:1550,KES:153,GHS:12.5};
const names={USD:'US Dollar',EUR:'Euro',GBP:'British Pound',CHF:'Swiss Franc',JPY:'Japanese Yen',CAD:'Canadian Dollar',AUD:'Australian Dollar',NZD:'New Zealand Dollar',CNY:'Chinese Yuan',INR:'Indian Rupee',BRL:'Brazilian Real',MXN:'Mexican Peso',KRW:'South Korean Won',SGD:'Singapore Dollar',HKD:'Hong Kong Dollar',SEK:'Swedish Krona',NOK:'Norwegian Krone',DKK:'Danish Krone',PLN:'Polish Zloty',CZK:'Czech Koruna',THB:'Thai Baht',TRY:'Turkish Lira',ZAR:'South African Rand',AED:'UAE Dirham',SAR:'Saudi Riyal',RUB:'Russian Ruble',PHP:'Philippine Peso',IDR:'Indonesian Rupiah',MYR:'Malaysian Ringgit',VND:'Vietnamese Dong',ARS:'Argentine Peso',COP:'Colombian Peso',CLP:'Chilean Peso',PEN:'Peruvian Sol',EGP:'Egyptian Pound',NGN:'Nigerian Naira',KES:'Kenyan Shilling',GHS:'Ghanaian Cedi'};
const flags={USD:'🇺🇸',EUR:'🇪🇺',GBP:'🇬🇧',CHF:'🇨🇭',JPY:'🇯🇵',CAD:'🇨🇦',AUD:'🇦🇺',NZD:'🇳🇿',CNY:'🇨🇳',INR:'🇮🇳',BRL:'🇧🇷',MXN:'🇲🇽',KRW:'🇰🇷',SGD:'🇸🇬',HKD:'🇭🇰',SEK:'🇸🇪',NOK:'🇳🇴',DKK:'🇩🇰',PLN:'🇵🇱',CZK:'🇨🇿',THB:'🇹🇭',TRY:'🇹🇷',ZAR:'🇿🇦',AED:'🇦🇪',SAR:'🇸🇦',RUB:'🇷🇺',PHP:'🇵🇭',IDR:'🇮🇩',MYR:'🇲🇾',VND:'🇻🇳',ARS:'🇦🇷',COP:'🇨🇴',CLP:'🇨🇱',PEN:'🇵🇪',EGP:'🇪🇬',NGN:'🇳🇬',KES:'🇰🇪',GHS:'🇬🇭'};
const opts=Object.keys(rates).map(c=>`<option value="${c}">${flags[c]||''} ${c} — ${names[c]||c}</option>`).join('');
document.getElementById('from').innerHTML=opts;document.getElementById('to').innerHTML=opts;
document.getElementById('to').value='EUR';
function convert(){const a=+document.getElementById('amount').value;const f=document.getElementById('from').value;const t=document.getElementById('to').value;
const r=rates[t]/rates[f];const result=a*r;
document.getElementById('result').textContent=`${flags[t]} ${result.toLocaleString('en-US',{minimumFractionDigits:2,maximumFractionDigits:2})} ${t}`;
document.getElementById('rate').textContent=`1 ${f} = ${r.toFixed(4)} ${t} · 1 ${t} = ${(1/r).toFixed(4)} ${f}`;
document.getElementById('table').innerHTML=['USD','EUR','GBP','CHF','JPY','CAD','AUD','CNY','INR','BRL','SGD','AED'].map(c=>{
const v=(a*rates[c]/rates[f]);return`<div style="padding:0.5rem;background:var(--bg-secondary);border-radius:6px;text-align:center;cursor:pointer;" onclick="document.getElementById('to').value='${c}';convert()"><div style="font-size:0.75rem;color:var(--text-muted);">${flags[c]} ${c}</div><div style="font-weight:600;font-size:0.9rem;">${v<100?v.toFixed(2):v.toLocaleString('en-US',{maximumFractionDigits:0})}</div></div>`;}).join('');
}
function swap(){const f=document.getElementById('from').value;document.getElementById('from').value=document.getElementById('to').value;document.getElementById('to').value=f;convert();}
convert();
</script>
<script src="ads.js"></script>
</body>
</html>