# Minify CSS and Javascript

**URL:** https://forum.pinegrow.com/t/minify-css-and-javascript/1247
**Category:** Tips & Tricks
**Created:** [August 31, 2017, 3:36pm UTC](https://forum.pinegrow.com/t/minify-css-and-javascript/1247 "2017-08-31T15:36:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mandarin](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/mandarin/32/806_2.png) [@mandarin](https://forum.pinegrow.com/u/mandarin)
#### Post date: [August 31, 2017, 3:36pm UTC](https://forum.pinegrow.com/t/minify-css-and-javascript/1247/1 "2017-08-31T15:36:46Z")

</div>

Hoping some one on here may be able to help.

Been asked if I can minify several hundred css and a few js files for a client. Really looking for a windows desktop app for this rather than online as easier to get wife trained !

Any thoughts or recommendations please?

---

<div class="post-metadata">

### Author: ![Terry44](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/terry44/32/175_2.png) [@Terry44](https://forum.pinegrow.com/u/Terry44)
#### Post date: [September 1, 2017, 1:23am UTC](https://forum.pinegrow.com/t/minify-css-and-javascript/1247/2 "2017-09-01T01:23:24Z")

</div>

Notepad++ Join Lines?

This is what I do when minimizing PHP, HTML CSS, JS files… Essentially all you are doing is putting everything on one line. You should test as you go to make sure it still is working, depending on how the code is written you could break it by doing this… CSS, should be fine though.

Backup and save non minified versions for later editing or additions OR manually insert some delimiter you can use to easily unminiify it later.

---

<div class="post-metadata">

### Author: ![fishmi](https://avatars.discourse-cdn.com/v4/letter/f/c89c15/32.png) [@fishmi](https://forum.pinegrow.com/u/fishmi)
#### Post date: [September 1, 2017, 4:57pm UTC](https://forum.pinegrow.com/t/minify-css-and-javascript/1247/3 "2017-09-01T16:57:24Z")

</div>

If it is to be automated, then I would use prepros:  
[https://prepros.io/](https://prepros.io/)

---

<div class="post-metadata">

### Author: ![benhanna](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/benhanna/32/766_2.png) [@benhanna](https://forum.pinegrow.com/u/benhanna)
#### Post date: [September 3, 2017, 4:52pm UTC](https://forum.pinegrow.com/t/minify-css-and-javascript/1247/5 "2017-09-03T16:52:33Z")

</div>

Its online but should do the job [http://bulkminify.com](http://bulkminify.com)

---

<div class="post-metadata">

### Author: ![vrooney](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/vrooney/32/769_2.png) [@vrooney](https://forum.pinegrow.com/u/vrooney)
#### Post date: [September 3, 2017, 5:31pm UTC](https://forum.pinegrow.com/t/minify-css-and-javascript/1247/6 "2017-09-03T17:31:35Z")

</div>

Atom Editor also has an Atom-Minify plugin that you can install if you are currently using the Atom editor with Pinegrow.

> **[atom-minify](https://atom.io/packages/atom-minify)**
>
> Minifies JS and CSS files, optionally on save.

Also CodeKit will do it for you when it processes your project if you have the option set. Highly recommended program.
