Free Chinese dictionary widgets for your site
Add a Chinese word card, a word of the day or a dictionary search box to your class page, course site or blog. Copy the code and paste it into your page. It’s free, with no signup.
Word card
The word, its pinyin, its meanings and its HSK band. Common words also have a button to hear the word, and a link to their short cartoon on the word page. It works for every one of the 119,383 words in the dictionary.
Word of the day
A new everyday word each day, from HSK bands 1 to 3, with its pinyin and meaning. The word changes at midnight UTC.
Search box
Your visitors look up any word in Chinese characters, pinyin or English. The results open in a new tab.
How to add a widget
- WordPress: add a Custom HTML block and paste the code.
- Google Sites: choose Insert, then Embed, then Embed code, and paste the code.
- Course sites and other website builders: open the HTML or code view of the page and paste the code.
Keep the link under the frame. It shows your visitors where the word comes from, and some site builders show only the link when they remove frames.
The frame shrinks to fit narrow columns and phones. Keep its height.
Widget addresses
Each widget has a fixed address. Put the word in Chinese characters (simplified or traditional) where it says <word>:
- Word card (480 × 260):
https://dengdeng.app/dictionary/embed/word/<word>/ - Word of the day (480 × 280):
https://dengdeng.app/dictionary/embed/word-of-the-day/ - Search box (480 × 150):
https://dengdeng.app/dictionary/embed/search/
The full code for one word card, ready to paste:
<iframe src="https://dengdeng.app/dictionary/embed/word/%E4%BD%A0%E5%A5%BD/" title="你好 (nǐ hǎo) in the Dengdeng Chinese Dictionary" width="480" height="260" style="width:100%;max-width:480px;border:0" loading="lazy"></iframe>
<p><a href="https://dengdeng.app/dictionary/word/%E4%BD%A0%E5%A5%BD/">你好 (nǐ hǎo) – Dengdeng Chinese Dictionary</a></p>Tools that read oEmbed can also embed a word page link, such as https://dengdeng.app/dictionary/word/%E6%98%A8%E5%A4%A9/. The oEmbed address is https://dengdeng.app/dictionary/oembed?url=<word page URL>.
Privacy
The widgets set no cookies and keep no visitor identifiers. We count views in aggregate, as on the rest of the dictionary. See About.
AI assistants
AI assistants can make this code for you: connect the dictionary’s MCP server and ask for a widget for any word.
Search measurements
Beam preview · 15-second idle timeout · No prewarming. Total time includes the network and any container startup. “First search” identifies a new Go process; it is not a separate measurement of Beam’s startup time.