# Clean up your layout with Prettify
Prettify is available on higher-tier plans. To see plan details, go to the **Plans & Pricing** page in your Foxify dashboard.
Prettify analyzes a selected section and automatically adjusts spacing, alignment, and visual balance of its first-level nested elements — cleaning up the layout without manual tweaking.
**Best fits for:**
* Quickly tidying up spacing and alignment issues in a section, without fixing each element individually
* Improving visual balance on the breakpoint you're currently viewing
* A fast cleanup pass after building out a section's content
### Prettify vs. AI Responsive — which one to use
## How to use Prettify
1. Right-click the section on the canvas and choose **Prettify**.
2. This opens Foxie's chat panel with the `prettify` command and that section already set as context, and sends the message automatically — you don't need to type anything.
3. Foxie analyzes and cleans up the layout, applying the result directly to your page as it works.
4. Hit **Save** if you're happy with the result, or **Undo** if not.
* **First-level elements only** - Prettify adjusts elements directly inside the selected section. Deeply nested elements (elements inside containers inside the section) are not affected.
* **Current viewport only** - Changes apply to the viewport you're currently viewing. Switch to mobile or tablet preview to run Prettify separately on those breakpoints if needed.
**Want to use chat instead?** Run Prettify through the **Prettify** command in [**Foxie**](https://docs.foxecom.com/foxify-app/foxify-ai/foxie-ai-agent-build-and-edit-pages-by-chatting).
**Need to fix layout across all devices at once?** Use [**AI Responsive**](https://docs.foxecom.com/foxify-app/foxstudio/editor-tools/ai-responsive) instead — it optimizes for desktop, tablet, and mobile in one step.
## Related articles
AI responsive
Foxie AI Agent: Build and customize your pages
Constraints