CSS Logical Properties Converter
Logical properties adapt to writing-mode, direction, and text-orientation — making your CSS work correctly in RTL, vertical, and other non-LTR layouts. Paste your physical CSS on the left and get the logical equivalent on the right, with a full property reference below.
Physical CSS
Logical CSS
Property reference
Logical properties adapt to writing-mode, direction, and text-orientation — essential for RTL and vertical-script support.
How to use
Paste your CSS
Paste any CSS rule set into the left panel. The default shows a typical LTR component with margin, padding, and border declarations.
See the conversion
The right panel shows the logical equivalent in real time. Changed lines are automatically highlighted.
Copy the output
Hit Copy CSS to grab the converted logical properties block.
Check the reference
The mapping table below lists all physical ↔ logical property pairs for quick reference.