ImageToSVG

SVG Text Wrapping — flowRoot and Modern Alternatives

SVG once proposed a native text-wrapping element (flowRoot) that never gained real support — here's what to use instead today.

Preset:
Colors:
VTracer vectorization + SVGO optimizationPrivacy protected

Why flowRoot Isn't a Practical Option

`<flowRoot>` was part of an early SVG 1.2 draft intended to provide native paragraph-style text wrapping, but it was never adopted into the SVG 2 specification or implemented consistently across major browsers — encountering it in older Inkscape-exported files, it should be converted rather than relied upon for web use.

  • flowRoot was an abandoned SVG 1.2 draft feature, never standardized
  • No meaningful modern browser support exists for flowRoot
  • Inkscape-exported files using it should be converted before web deployment

Modern Wrapped-Text Alternatives

For genuine wrapped paragraph text within SVG today, use `<foreignObject>` containing real HTML with CSS text-wrapping (the most flexible modern option), or manually break text into multiple `<tspan>` elements with calculated line breaks and `dy` offsets for simpler, browser-universal cases without HTML embedding.

  • foreignObject with embedded HTML/CSS gives full modern text wrapping
  • Manual tspan elements with dy offsets work without HTML embedding
  • Choose based on browser support needs and layout complexity

Frequently Asked Questions

I found flowRoot in an old SVG file from Inkscape — what do I do?

Open the file in current Inkscape (or another editor) and convert the flowRoot text to standard text/tspan elements or flatten it to a path, since flowRoot won't render as intended in modern browsers.

Which modern alternative should I use for a simple two-line label?

For simple, short wrapped text, manually calculated tspan elements with dy line-height offsets are simpler and more universally supported than reaching for foreignObject's added complexity.

Related guides

Ready to Convert Your Image to SVG?

Free online converter — no sign-up, no watermarks, results in under 3 seconds.

Try It Free — Convert Image to SVG