CSSAWWWARDS
+ Submit tool
New toolFree · No signup

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.

Share:
Share on XLinkedIn
13 properties converted

Physical CSS

Logical CSS

Logical Properties Output
.container {  inline-size: 640px;  min-block-size: 200px;  margin-block-start: 1.5rem;  margin-block-end: 1.5rem;  margin-inline-start: auto;  margin-inline-end: auto;  padding-inline-start: 1.5rem;  padding-inline-end: 1.5rem;  border-inline-start: 3px solid #1D9E75;  border-start-start-radius: 8px;  border-end-start-radius: 8px;  text-align: start;  overflow-inline: hidden;}

Property reference

Physical (LTR)Logical equivalent
margin-top / bottommargin-block-start / end
margin-left / rightmargin-inline-start / end
padding-top / bottompadding-block-start / end
padding-left / rightpadding-inline-start / end
border-top / bottomborder-block-start / end
border-left / rightborder-inline-start / end
border-top-left-radiusborder-start-start-radius
border-bottom-left-radiusborder-end-start-radius
top / bottominset-block-start / end
left / rightinset-inline-start / end
width / heightinline-size / block-size
min/max-widthmin/max-inline-size
min/max-heightmin/max-block-size
overflow-x / yoverflow-inline / block
text-align: left/righttext-align: start/end
float: left/rightfloat: inline-start/end

Logical properties adapt to writing-mode, direction, and text-orientation — essential for RTL and vertical-script support.

How to use

01

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.

02

See the conversion

The right panel shows the logical equivalent in real time. Changed lines are automatically highlighted.

03

Copy the output

Hit Copy CSS to grab the converted logical properties block.

04

Check the reference

The mapping table below lists all physical ↔ logical property pairs for quick reference.

More utility tools

From our directory of 30+ CSS tools.

Browse all →

Know a great CSS tool?

Submit it to the directory and help developers discover it.

Submit a tool →