HTML Marquee Generator

Create scrolling text (marquees) for your website. Customize direction, speed, colors, and behavior instantly.

Welcome to my website! Check out our latest updates.

Content & Layout

Animation Settings

6
<marquee direction="left" behavior="scroll" scrollamount="6" style="background-color: #f0f9ff; color: #0369a1; width: 100%; height: 50px; font-family: sans-serif; line-height: 50px;">
  Welcome to my website! Check out our latest updates.
</marquee>

Retro Scrolling Text

Bring back the 90s web aesthetic or create eye-catching announcements. Generate customizable HTML marquee tags with live preview and instant code output.

Live Preview

How this HTML Marquee Generator works

Our HTML Marquee Generator creates customizable scrolling text elements with a live preview directly in your browser. You configure the marquee by setting parameters including scroll direction (left, right, up, or down), speed, behavior type (scroll, slide, or alternate), background color, text color, font size, and dimensions. The tool generates both the classic HTML marquee tag and a modern CSS animation equivalent that works reliably across all current browsers.

A real-time preview window shows your marquee exactly as it will appear on a webpage, updating instantly as you adjust any parameter. The generated code is displayed in a syntax-highlighted code block that you can copy with a single click. For developers who prefer modern standards, the CSS-based alternative uses keyframe animations to replicate marquee behavior without relying on the deprecated HTML element.

All code generation and preview rendering happen entirely on your device through client-side processing — no data is sent to any server. This tool is especially useful for web developers adding dynamic text banners, retro-styled website sections, or attention-grabbing announcements. You can experiment with unlimited configurations at no cost and without any registration requirement.

How to use this HTML Marquee Generator

1

Customize Text

Enter the message you want to scroll.

2

Adjust Settings

Set direction, speed, colors, and behavior.

3

Get Code

Copy the generated HTML tag for your site.

Example Usage

Generating a scrolling announcement:

Input
Text: "Sale!", Speed: 10
Output
<marquee scrollamount="10">Sale!</marquee>

Frequently Asked Questions

Is the <marquee> tag deprecated?
Yes, it is technically deprecated but still supported by most modern browsers. Use CSS animations for production sites.
Can I use images?
Yes! You can paste an <img> tag into the text field instead of plain text.
How do I stop it on hover?
You can add onmouseover="this.stop();" onmouseout="this.start();" to the tag manually.

Related Tools

The HTML Marquee Generator is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

Featured On

CodeItBro - Free dev tools + practical guides to help you ship faster | Product HuntCodeItBro - Free Online Developer Tools badgeCodeItBro badge