HTML BDO Tag Generator

Generate HTML BDO (Bi-Directional Override) tags for controlling text direction

BDO Configuration
BDO overrides the natural text direction
Live Preview
Generated HTML
Example Demonstrations
Normal Text vs BDO Override:

Normal LTR text:
Hello World 123

BDO RTL override:
Hello World 123

Mixed Language Example:

Normal text:
English العربية Hebrew

BDO RTL override:
English العربية Hebrew

About HTML BDO Tag
What is the BDO tag?

The HTML <bdo> (Bi-Directional Override) tag is used to override the current text direction. It forces text to be displayed in a specific direction, regardless of the natural direction of the characters.

Key Features:
  • Direction Override: Forces LTR or RTL display
  • Unicode Handling: Works with all Unicode characters
  • Accessibility: Helps with proper text rendering
  • Language Support: Essential for multilingual content
Common Use Cases:
  • Displaying usernames or IDs that should maintain direction
  • Showing code or technical content in mixed-language contexts
  • Creating special text effects
  • Handling user-generated content with mixed directions
  • Email addresses and URLs in RTL contexts
Attributes:
  • dir: Required. Specifies text direction (ltr/rtl)
  • lang: Optional. Specifies language
  • class: Optional. CSS class names
  • style: Optional. Inline CSS styles
  • title: Optional. Tooltip text
Note: BDO is different from the dir attribute. BDO forces the direction regardless of character types, while dir sets the base direction for the bidirectional algorithm.