🌐
Unminify
unminify.com
Unminify JS, CSS, HTML, XML and JSON Code
Free tool to unminify (unpack, deobfuscate) JavaScript, CSS, HTML, XML and JSON code, making it readable and pretty.
🌐
HTMLStrip
htmlstrip.com › unminify-javascript
Unminify Javascript - HTMLStrip
HTMLStrip · To use this free online Javascript unminify tool, paste your code into the box below or use the upload functions. Unminify · Load URL · URL Load · Choose a file · 2 spaces · 3 spaces · 4 spaces · 8 spaces · Collapse · Expand · Download · With this tool you can unminify Javascript, making it formatted, neatly presented and easy to read.
Discussions

How to unminify a JavaScript file in VS Code?

Install a prettifier extension from the market. They’re sometimes called beautifiers, too.

More on reddit.com
🌐 r/vscode
9
7
January 21, 2017
Unminify HTML in terminal
I use tidy . curl | tidy More on reddit.com
🌐 r/bash
8
7
April 30, 2022
code formatting - Tool to Unminify / Decompress JavaScript - Stack Overflow
Are there any command line scripts and/or online tools that can reverse the effects of minification similar to how Tidy can clean up horrific HTML? (I'm specifically looking to unminify a minified More on stackoverflow.com
🌐 stackoverflow.com
HTML minify and un-minify - HTML & CSS - SitePoint Forums | Web Development & Design Community
I’m wanting to minify all the html code on my website theme files but want to be able to un-minify them when I need to edit them. Similar to how www.cleancss.com allows you to minify CSS code then make is easily readable (un-minify) the code as well. Is there a site or program that will do ... More on sitepoint.com
🌐 sitepoint.com
0
December 3, 2013
🌐
Unminify All
unminifyall.com
Unminify Html | Css | Javascript | JSON | XML - Unminify All
Free online tool for minify and unminify HTML - CSS - JS - XML, and JSON. Make it debuggable - readable or single-lined by unminify all.
🌐
Unminifycode
unminifycode.com
Index of /
Proudly Served by LiteSpeed Web Server at unminifycode.com Port 443
🌐
Unminify2
unminify2.com
Unminify JS, CSS, HTML
Free online tool to unminify JS, CSS, HTML compressed code, making it readable again. Unminify, uncompress and beautify any minified JS, CSS, HTML code.
🌐
Code Unminifier
app.jsmon.sh › tools › unminify
Unminify JS, HTML & CSS - Free Code Beautifier Tool
January 1, 2025 - Free online tool to unminify and beautify JavaScript, HTML, and CSS code. Instant code formatting for better readability and debugging.
🌐
1Max
sur.ly › i › unminifyall.com
unminifyall.com - Unminify Html | Css | Javascri... - Unminify All
unminifyall.com. Free online tool for minify and unminify HTML - CSS - JS - XML, and JSON. Make it debuggable - readable or single-lined by unminif...
Find elsewhere
🌐
Code Beautify
codebeautify.org › jsviewer › 486242
Unminified
Javascript Beautifier is easy to use tool to beautify, format and prettier JavaScript data. Copy, Paste, and Beautify · Welcome to the online Javascript formatter and beautifier at codebeautify.org. Javascript is a web based programming language that is used extensively in many websites · ...
🌐
IPVoid
ipvoid.com › html-unminify
Unminify HTML Code Online, Uncompress HTML Online | IPVoid
Use this online HTML unminifier tool to uncompress HTML by converting minified HTML to nicely formatted and indented HTML code. Just paste the compressed HTML code below and press the button.
🌐
APIVoid
apivoid.com › tools › unminify
Code Unminifier – Beautify CSS, JS, HTML & JSON | APIVoid
Unminify CSS, JavaScript, HTML, and JSON code with this free online tool. Easily reformat and decompress minified code for better readability and debugging.
🌐
Reddit
reddit.com › r/bash › unminify html in terminal
r/bash on Reddit: Unminify HTML in terminal
April 30, 2022 -

I got a minified website. So when I curl it and I get a HTML file but the whole code is in one line. If I use firefox and save that page then I get the arranged source code of it. As I am making a Script I can't use firefox so is there any way to curl a website and unminify it within terminal

Top answer
1 of 3
6
I use tidy . curl | tidy
2 of 3
4
This isn't the answer that you want, but it is the answer that you need. Nevermind prettifying the html, that's just introducing unnecessary processes into the mix. Just use grep -Eo. With grep -Eo, grep, making use of extended regex , will output ONLY the MATCHING portions of your search pattern. So if your search pattern is trying to pull the content of each href tag on the page you could search something like href="[^"]*" and grep would output each matching portion on a separate line: href="result one" href="result two" href="result three" href="result four" Note, that regex is very important, especially when working with minified (single line) html: href="[^"]*" specifies that we want the pattern href=", followed by as many NOT quote characters, until the NEXT quote character href=".*" the more sensible search pattern that would potentially work if the html was formatted with each tag on a separate line asks to return href=, then every character BETWEEN TWO QUOTES. Since regex is greedy, it'll give you exactly that, EVERY character between two quotes, and since you're parsing data on a single line, with multiple quotes on that line, your result will be the starting quote followed by every character until the very last quote it finds. Not what you want. From there you can further manipulate the results with bash/sed/awk. If you don't know regex, look into it! sed, awk, regex took my bash scripting to the next level. By the way, I asked this very same question nearly a year ago and never found the answer I wanted, but like I said, I would eventually find the answer I needed, so I'm speaking from experience :).
🌐
Minify JS
minify-js.com
Minify JS Online. JavaScript Minification tool that works in browser. | Minify JS Online
Minify JS code online with the tool based on the Terser minification utility. Minify ES6+ code online.
🌐
Website Planet
websiteplanet.com › webtools › unminify-js
Unminify JS & CSS Code Online: Quick and Completely Free
July 26, 2024 - Our free (no hidden costs) JS & CSS Unminify tool lets you uncompress, reformat, and reindent ugly JS & CSS code to make it readable. Copy and paste your code directly into the box above, or upload multiple JS or CSS files to see the unminifier in action.
🌐
Nero
nero.com › enu
Nero Software
Nero Platinum - The complete solution for your digital projects. Over 20 included programs turn your PC into a powerful multimedia centre. Whether it's backup, video editing, burning, PC tuning or brand new AI applications, you'll find the right software here.
🌐
Codedev
tools.codedev.info › unminify-code
Unminify code
Make JS,CSS & HTML code readable with this quick unminifying tool!
🌐
SitePoint
sitepoint.com › html & css
HTML minify and un-minify - HTML & CSS - SitePoint Forums | Web Development & Design Community
December 3, 2013 - I’m wanting to minify all the html code on my website theme files but want to be able to un-minify them when I need to edit them. Similar to how www.cleancss.com allows you to minify CSS code then make is easily readabl…
🌐
DhiWise
dhiwise.com › post › unminify-html-code-the-best-online-tool-for-formatting
A Quick Look at Unminify HTML and Its Benefits
November 20, 2024 - But what exactly does it mean to unminify code, and why is it crucial for your projects? Minification is a common practice aimed at reducing the file size of HTML, CSS, and JavaScript code.
🌐
X
x.com › unminifier
Unminify JavaScript, CSS, HTML (@unminifier) / X
November 20, 2017 - Unminifier tool will unminify, deobfuscate and beautify ugly JS, CSS, HTML code to make it readable again.