{% extends "base.html" %} {% set _cms_title = get_page_content(page_id, 'title', g.lang_code) %} {% set _cms_desc = get_page_content(page_id, 'description', g.lang_code) %} {% set _cms_heading = get_page_content(page_id, 'page_heading', g.lang_code) %} {% set _cms_page_desc = get_page_content(page_id, 'page_description', g.lang_code) %} {% set _cms_head_html = get_page_content(page_id, 'head_html', g.lang_code) %} {% set _cms_og_image = get_page_content(page_id, 'og_image', g.lang_code) %} {% block title %}{% if _cms_title %}{{ _cms_title }}{% else %}{{ base }} Exchange Rates — {{ base_info.name }} | OnlineConvert.cc{% endif %}{% endblock %} {% block description %}{% if _cms_desc %}{{ _cms_desc }}{% else %}Live {{ base }} exchange rates against 160+ currencies. View {{ base_info.name }} rates, compare, and convert instantly.{% endif %}{% endblock %} {% block og_image_tag %}{% if _cms_og_image %}{% endif %}{% endblock %} {% block extra_head %}{% if _cms_head_html %}{{ _cms_head_html|safe }}{% endif %}{% endblock %} {% block head %} {{ super() }} {% endblock %} {% block content %} {% if api_unavailable %}
{% trans %}Rate data temporarily unavailable{% endtrans %}
{% trans %}The crypto rate API is currently experiencing issues. Please try again in a few minutes.{% endtrans %}
{% endif %} {% set _ht_currency_r = site.get('hero_bg_type', 'gradient') if site is defined else 'gradient' %} {% set _hero_img = site.get('hero_bg_image', '') if site is defined else '' %} {% set _hero_lcl = (site.get('hero_img_left_color_light', '#1e3a5f') if site is defined) or '#1e3a5f' %} {% set _hero_lcd = (site.get('hero_img_left_color_dark', '#0f172a') if site is defined) or '#0f172a' %}
{% if _ht_currency_r == 'image' %} {% endif %} {% if _ht_currency_r == 'gradient' %}
{% elif _ht_currency_r == 'image' and _hero_img %}
{% endif %}
{{ base }}

{% if _cms_heading %}{{ _cms_heading }}{% else %}{{ base }} {% trans %}Exchange Rates{% endtrans %}{% endif %}

{{ _cms_page_desc if _cms_page_desc else base_info.name }}{% if date and not _cms_page_desc %} · Rates as of {{ date }}{% endif %}

Convert {{ base }}
{% trans %}I have{% endtrans %} {{ base }}
{% if stats %}
{{ stats.total }}
{% trans %}Total Currencies{% endtrans %}
{% if stats.strongest %}
{{ stats.strongest.code }}
{% trans %}Strongest{% endtrans %} · {{ "%.4f"|format(stats.strongest.rate) }}
{% endif %} {% if stats.weakest %}
{{ stats.weakest.code }}
{% trans %}Weakest{% endtrans %} · {{ "{:,.2f}".format(stats.weakest.rate) }}
{% endif %}
{{ stats.fiat_count }} / {{ stats.crypto_count }}
{% trans %}Fiat{% endtrans %} / {% trans %}Crypto{% endtrans %}
{% endif %}
{% set count = namespace(n=0) %} {% for code, info in currencies.items() %} {% if code != base|lower %} {% set count.n = count.n + 1 %} {% endif %} {% endfor %}
{% trans %}Currency{% endtrans %} {% trans %}Rate per 1{% endtrans %} {{ base }}
{{ code|upper }}
{{ code|upper }} {% if info.type == 'crypto' %} {% trans %}CRYPTO{% endtrans %} {% endif %}
{{ info.name }}
{% if info.rate < 0.001 %}{{ "%.8f"|format(info.rate) }}{% elif info.rate < 1 %}{{ "%.6f"|format(info.rate) }}{% elif info.rate < 100 %}{{ "%.4f"|format(info.rate) }}{% elif info.rate < 10000 %}{{ "%.2f"|format(info.rate) }}{% else %}{{ "{:,.2f}".format(info.rate) }}{% endif %} {% trans %}Convert →{% endtrans %}
{% set total_rows = currencies|length %} {% if total_rows > 50 %}
{% endif %}

Popular {{ base }} Pairs

{% set popular_codes = ['usd','eur','gbp','jpy','cny','chf'] %} {% for pc in popular_codes %} {% if pc in currencies and pc != base|lower %} {{ base }} {{ pc|upper }}
{{ base }}/{{ pc|upper }}
1 {{ base }} = {{ "%.4f"|format(currencies[pc].rate) if currencies[pc].rate < 10000 else "{:,.2f}".format(currencies[pc].rate) }} {{ pc|upper }}
{% trans %}Convert →{% endtrans %}
{% endif %} {% endfor %}
{% set _page_id = page_id %} {% include "shared/quick-faq.html" %} {% endblock %} {% block footer %} {{ super() }} {% endblock %}