Dummy Image Placeholder Generator

Easily Create Custom Placeholder Images for Your Projects

How to Use

1. Basic Dimensions

To generate an image with specific dimensions, use the following URL format:

https://bxcode.com/image/{width}/{height}

Examples:

Width 600px and Height 400px:

https://bxcode.com/image/600/400

Width 600px (Height auto):

https://bxcode.com/image/600

2. Background Color

Change the background color of your image by specifying the bgcolor parameter. Use hex color codes.

Example:

Red Background:

https://bxcode.com/image/600/?bgcolor=ff0000

3. Text Color

Customize the text color by using the textcolor parameter. Hex color codes are used here as well.

Example:

White Text Color:

https://bxcode.com/image/600?textcolor=ffffff

4. Image Format

You can specify the image format using the format parameter. Supported formats include JPEG, PNG, GIF, and WEBP.

Examples:

JPEG Format:

https://bxcode.com/image/600?format=jpeg

PNG Format:

https://bxcode.com/image/600?format=png

5. Adding Text

Include text on your placeholder image using the text parameter. Ensure to URL-encode your text.

Example:

Sample Text:

https://bxcode.com/image/600?text=bXcode

Combine Parameters

You can combine multiple parameters to achieve the perfect placeholder image for your needs. For example:

Image with dimensions 600×400, red background, white text, in JPEG format with sample text:

https://bxcode.com/image/600/400?bgcolor=ff0000&textcolor=ffffff&format=jpeg&text=bXcode

Feel free to experiment with different combinations to create the exact placeholder image you need!

Scroll to Top