Ah, it doesn't auto-format it. If I paste in non-formatted JSON, it stays non-formatted. But if I press option+cmd+L on Mac, Ctrl+Alt+L on windows, it formats it nicely.

Answer from Bruce on Stack Overflow
🌐
JetBrains
jetbrains.com › help › pycharm › json.html
JSON | PyCharm Documentation
February 10, 2026 - In the File Name Patterns area, click and type *.json in the Add Wildcard dialog that opens. PyCharm can automatically download and use schemas from the JSON Schema Store that hosts schema files for many popular configuration files. As soon as you open a file whose name is associated with one of the available schemas (for example, tsconfig.json), PyCharm downloads and uses this schema for it.
Discussions

.json file
You need to show some code to get an answer More on reddit.com
🌐 r/pycharm
9
3
November 6, 2022
pycharm creating .json files arabic
Posted by u/muneermohd96190 - 1 vote and 6 comments More on reddit.com
🌐 r/pycharm
6
1
November 6, 2022
🌐
JetBrains
jetbrains.com › help › pycharm › settings-code-style-json.html
Code Style. JSON | PyCharm Documentation
Use this page to configure formatting options for JSON files. When you change these settings, the Preview pane shows how this will affect your code. Use this tab to specify where you want PyCharm to insert spaces automatically.
🌐
GitHub
gist.github.com › jigi-33 › a887d272a9eb37bc4d2ad9ddf2ac7d27
[trick] JSON pretty formatting in PyCharm and other IntelliJ IDEA products · GitHub
[trick] JSON pretty formatting in PyCharm and other IntelliJ IDEA products - pycharm_json_formatting_feature.MD
🌐
Xebia
xebia.com › home › blog › json formatter plugin for intellij
JSON Formatter Plugin For IntelliJ | Xebia
February 5, 2009 - The trouble with JSON, however, it that's it's quite hard to read. Not because it's so complicated, but because it has been optimized for network communication, which in this case, means: all the whitespace has been stripped. Wouldn't it be nice to have an integrated JSON formatter in your IDE to handle this?
🌐
JetBrains
jetbrains.com › help › pycharm › prettier.html
Prettier | PyCharm Documentation
November 24, 2025 - For more information, refer to Run Prettier automatically on save and Set Prettier as default formatter. Open the Settings dialog (Ctrl+Alt+S) , go to Languages & Frameworks | JavaScript | Prettier, and select Manual Prettier configuration. From the Prettier package list, select the prettier installation to use. If you followed the standard installation procedure, PyCharm locates the prettier package itself and the field is filled in automatically.
Find elsewhere
🌐
JetBrains
jetbrains.com › help › pycharm › reformat-and-rearrange-code.html
Reformat and rearrange code | PyCharm Documentation
January 6, 2026 - Switch to the Formatter tab and enable the Turn formatter on/off with markers in code comments option.
🌐
JetBrains
plugins.jetbrains.com › plugin › 13931-json-formatter
Json Formatter - IntelliJ IDEs Plugin | Marketplace
JetBrains IDE/Android Studio JSON Formatter Plugin Format, Minify, Verify JSON as if you edit a file with .json suffix.
🌐
Medium
elvisciotti.medium.com › formatting-a-string-as-json-in-intellij-java-064e0ed2f15e
Formatting a JSON string or convert case in IntelliJ (short) - Elvis Ciotti - Medium
August 28, 2024 - Select the string you want to format. Right-click and choose “String Converter” from the ConvertX menu. In the conversion options, select “JSON” as the output format. The formatted JSON will be displayed in the preview window.
🌐
JetBrains
plugins.jetbrains.com › plugin › 10650-json-parser-and-code-generation
Json Parser & Code Gen - IntelliJ IDEs Plugin | Marketplace
JSON Parser is a powerful tool that simplifies working with JSON, offering features like Dart and Kotlin code generation, easy data retrieval and loading, validation...
🌐
Reddit
reddit.com › r/pycharm › handling large json files
r/pycharm on Reddit: Handling large JSON files
March 5, 2019 - r/pycharm • · PDonz · РусскийItaliano · I'm attempting to load some JSON files that are quite large (>1,000,000 characters; >100,000 lines). My program is getting an error because code insight and style aren't working, and it's removing the " " for every piece of information in the JSON file.
🌐
JetBrains
plugins.jetbrains.com › plugin › 14149-json-viewer
Json Viewer - IntelliJ IDEs Plugin | Marketplace
Transform Json strings into a human-readable format. Format with `Alt+F` or click "Format". Search in json with your search key (e.g. `Cltr+F`).
🌐
DEV Community
dev.to › scottshipp › prettify-json-with-intellij-scratch-files-pna
Prettify JSON with IntelliJ scratch files! - DEV Community
November 8, 2021 - Choose "JSON" (hint: you can type "json"). ... Go to Code > Reformat code or use the shortcut key Alt + Option + L. Note: The above shortcut keys are for macOS. Review the IntelliJ Keymap reference for the corresponding shortcuts in your operating ...
🌐
Reddit
reddit.com › r/pycharm › pycharm creating .json files arabic
r/pycharm on Reddit: pycharm creating .json files arabic
November 6, 2022 - python -Xutf8./manage.py dumpdata --natural-foreign --exclude=auth.permission --exclude=contenttypes --indent=4 -o data.json ... Subreddit for JetBrains PyCharm, the Python IDE for professional developers by JetBrains.
🌐
JetBrains
youtrack.jetbrains.com › issue › IJPL-63555 › Action-to-format-large-JSON-files
Action to format large JSON files : IJPL-63555
{{ (>_<) }} This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong
🌐
Misrupc
trt.misrupc.pw › pycharm-json-formatter.html
Pycharm json formatter. Python JSON Pretty Print – JSON Formatting with Python
On the Formatter Control tab, select the Enable formatter markers in comments checkbox. The Scope area becomes active. In the Scope area, click to add a scope where you can specify files that you want to exclude from reformatting. If you try reformatting the excluded file, PyCharm displays a popup notifying you that formatting for this file is disabled.