# @nuxtjs/cloudinary

> Cloudinary module for Nuxt

Latest version **4.1.0** (published 2026-09-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @nuxtjs/cloudinary
pnpm add @nuxtjs/cloudinary
yarn add @nuxtjs/cloudinary
bun add @nuxtjs/cloudinary
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.1.0 |
| Published | 2026-09-17 |
| First published | 2020-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 58.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 252 |
| Maintainers | pi0, atinux, danielroe, antfu, mayashavin, baroshem, colbyfayock |
| Keywords | nuxt, module, nuxt-cloudinary, cloudinary, images, videos, optimization, plugins |

## Links

- npm: https://www.npmjs.com/package/@nuxtjs/cloudinary
- Repository: https://github.com/nuxt-modules/cloudinary
- Homepage: https://github.com/nuxt-modules/cloudinary#readme
- Issues: https://github.com/nuxt-modules/cloudinary/issues
- npm.io page: https://npm.io/package/@nuxtjs/cloudinary

## Dependencies (7)

- [defu](https://npm.io/package/defu.md) ^6.1.4
- [@nuxt/kit](https://npm.io/package/@nuxt/kit.md) ^3.11.2 || ^4.0.0
- [@unpic/vue](https://npm.io/package/@unpic/vue.md) ^1.0.0
- [@unhead/vue](https://npm.io/package/@unhead/vue.md) ^3.4.1
- [@cloudinary-util/util](https://npm.io/package/@cloudinary-util/util.md) ^4.3.0
- [@cloudinary-util/types](https://npm.io/package/@cloudinary-util/types.md) 2.0.0-beta.3
- [@cloudinary-util/url-loader](https://npm.io/package/@cloudinary-util/url-loader.md) ^6.3.1

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 4.1.0 (latest) — 2026-09-17
- 4.0.0 — 2024-11-08
- 4.0.0-rc.1 — 2024-11-08
- 3.1.1 — 2024-10-15
- 3.1.0 — 2024-08-09
- 3.0.1 — 2024-07-02
- 3.0.0 — 2024-06-26
- 3.0.0-rc.4 — 2024-06-13
- 3.0.0-rc.3 — 2024-06-13
- 3.0.0-rc.2 — 2024-06-13
- 3.0.0-rc.1 — 2024-05-22
- 2.7.3 — 2024-04-03
- 2.7.2 — 2024-03-25
- 2.7.1 — 2024-03-25
- 2.7.0 — 2024-03-25
- … 38 more at https://npm.io/package/@nuxtjs/cloudinary/versions

## README

[![@nuxtjs/cloudinary](./docs/public/cover.jpg)](https://cloudinary.nuxtjs.org)

# @nuxtjs/cloudinary

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions CI][github-actions-ci-src]][github-actions-ci-href]
[![Codecov][codecov-src]][codecov-href]
[![License][license-src]][license-href]

> [Cloudinary](https://cloudinary.com) integration with for [Nuxt](https://nuxt.com)

- [📖 &nbsp;Documentation](https://cloudinary.nuxtjs.org)
- [👾 &nbsp;Playground](https://stackblitz.com/github/nuxt-modules/cloudinary?file=.stackblitz%2Fnuxt.config.ts)

> This is a module for version 3.X of Nuxt. If you are looking for Nuxt 2.X support check out the following [branch](https://github.com/nuxt-modules/cloudinary/tree/v1) and the legacy documentation [here](https://v1.cloudinary.nuxtjs.org)

## Features

- Nuxt 3 ready
- Useful `CldImage`, `CldOgImage` & `CldVideoPlayer` components
- Handy `useCldImageUrl` composable
- Automatically optimize images and deliver in modern formats
- Remove backgrounds from images
- Dynamically add image and text overlays to images

[📖 &nbsp;Read more](https://cloudinary.nuxtjs.org)

## Quick Setup

1. Add `@nuxtjs/cloudinary` dependency to your project

```bash
yarn add @nuxtjs/cloudinary 
npm install @nuxtjs/cloudinary
```

2. Add `@nuxtjs/cloudinary` to the `modules` section of `nuxt.config.ts`

```js
export default defineNuxtConfig({
  modules: ['@nuxtjs/cloudinary'],
})
```

See [module options](https://cloudinary.nuxtjs.org/getting-started/options) for more configuration options.

3. Create .env file with following `CLOUDINARY_CLOUD_NAME` variable:

```bash
CLOUDINARY_CLOUD_NAME=<YOUR_CLOUDINARY_CLOUD_NAME>
```

And that's it! You can now use Cloudinary in Nuxt ✨

```html
<template>
  <CldImage
    src="cld-sample-5"
    width="987"
    height="987"
    alt="My Awesome Image"
  />
</template>
```

## Development

1. Clone this repository
2. Install dependencies using `yarn install` or `npm install`
3. Start development server using `npm run dev`

## License

[MIT License](./LICENSE)

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/cloudinary/latest.svg
[npm-version-href]: https://npmjs.com/package/@nuxtjs/cloudinary

[npm-downloads-src]: https://img.shields.io/npm/dt/@nuxtjs/cloudinary.svg
[npm-downloads-href]: https://npmjs.com/package/@nuxtjs/cloudinary

[github-actions-ci-src]: https://github.com/nuxt-modules/cloudinary/workflows/ci/badge.svg
[github-actions-ci-href]: https://github.com/nuxt-modules/cloudinary/actions?query=workflow%3Aci

[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-modules/cloudinary.svg
[codecov-href]: https://codecov.io/gh/nuxt-modules/cloudinary

[license-src]: https://img.shields.io/npm/l/@nuxtjs/cloudinary.svg
[license-href]: https://npmjs.com/package/@nuxtjs/cloudinary

---
_Source: https://npm.io/package/@nuxtjs/cloudinary · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
