Facts widget

Free website widget

Random facts widget you can embed in minutes

Add a free fact-of-the-day style widget to your blog, classroom site, or app. 2,230+ facts, 17 categories, iframe or JavaScript—no signup.

Free

No signup or API key

2,230+

facts in the library

17

categories to filter

Loading builder…

How to embed a facts widget on your website

Three steps. Most people finish in under two minutes.

  1. 1

    Choose topics

    All facts, or filter science, history, space, tech, countries, and more in the builder.

  2. 2

    Copy the code

    Grab the iframe snippet (recommended) or JavaScript SDK from the live preview.

  3. 3

    Paste & publish

    Drop it into HTML, a WordPress Custom HTML block, or your site builder—done.

Why websites embed this widget

iframe or JavaScript

Paste one snippet. Works in HTML, WordPress Custom HTML, Ghost, and most site builders.

Category filters

Science, space, history, tech, presidents, USA, world countries, trivia, and more.

Mobile-ready

Responsive embed that stays readable on phones, tablets, and desktop layouts.

Instant setup

No registration, cookies from us on your visitors, or monthly fees—copy and go.

Developer-friendly

Optional JS SDK with theme and refresh options for deeper customization.

Attribution link

A small “Powered by RandomFacts” credit keeps the widget free and discoverable.

Built for blogs, classrooms, and content sites

Whether you need a trivia widget, educational sidebar, or country facts for travelers, match the embed to your audience.

Schools & classrooms

Add a science or history facts widget to lesson pages, LMS sidebars, or student portals.

Blogs & newsletters

Keep readers on-page longer with a fact-of-the-day style widget in your sidebar or footer.

Travel & culture sites

Filter world-country facts for UK, Japan, France, and more to match destination content.

Learning platforms

Drop trivia into courses, homework help sites, and tutoring blogs without building a facts API.

Random facts widget FAQ

Is this random facts widget free?

Yes. Embed it on personal or commercial sites at no cost. No account required.

How do I embed facts on my website?

Use the live builder on this page, copy the iframe code (or JavaScript), and paste it into your page HTML or CMS HTML block.

Can I make a fact of the day widget?

Absolutely. The embed rotates through 2,230+ facts. Visitors can tap New for another, and you can lock it to one topic.

Does it work with WordPress?

Yes—add a Custom HTML block and paste the iframe. Same approach works on Squarespace, Wix, Webflow, and Ghost.

Will it slow down my site?

The iframe loads lazily and stays small. Prefer the iframe embed for the lightest footprint.

Ready to add a facts widget?

Build your embed above, or explore 2,230+ facts on the main site first.