css2logical is a free online tool that converts traditional CSS physical properties to their logical equivalents. Simply paste your CSS, click convert, and get internationalization-ready code instantly.
CSS Logical Properties are a modern CSS feature that allows you to write styles based on the logical flow of content rather than physical directions. Instead of using left and right, you use inline-start and inline-end.
This makes your CSS automatically adapt to different writing modes and text directions, such as right-to-left (RTL) languages like Arabic and Hebrew.
This tool converts the following property categories:
All conversions happen in your browser. Your CSS code is never sent to any server. See our Privacy Policy for more details.
This tool is open source. Contributions, bug reports, and feature requests are welcome on GitHub.