Frequently Asked Questions

Everything you need to know about ClipBin

Back to Home Curl File Upload
← Back to home
Basic Features
What is ClipBin and what is it used for?

ClipBin is a secure platform for sharing text temporarily with AES-256 encryption. It allows you to create text "clips" that can be:

  • Encrypted with AES-256-GCM at rest
  • Password protected
  • With automatic expiration date
  • With view limits
  • With syntax highlighting for code
  • With custom URLs

It's ideal for sharing code, notes, temporary passwords, or any text you need to share securely and temporarily.

How do I create a text clip?

Creating a clip is very simple:

  1. Go to the ClipBin main page
  2. Paste or write your text in the text area
  3. Configure optional settings (custom URL, password, expiration, etc.)
  4. Click "Create Clip"
  5. You will receive a unique URL to share your clip

The clip will be available immediately and you can share the URL with whoever you need.

Can I upload files in addition to text?

Yes, ClipBin supports uploading text files. You can:

  • Drag and drop files into the text area
  • Use the "Upload File" button to select files
  • Upload code files with extensions like .js, .py, .html, .css, etc.

The file content will automatically load into the text area and syntax highlighting will be applied based on the file extension.

Security and Privacy
How does password protection work?

Password protection adds an extra layer of security:

  • Set a password when creating the clip
  • Anyone accessing the clip will need the password
  • Passwords are stored securely (hashed)
  • Without the correct password, content cannot be viewed

This is especially useful for sharing sensitive information like temporary credentials or confidential data.

How secure is ClipBin?

ClipBin implements comprehensive security measures:

  • AES-256-GCM encryption for all content at rest
  • Content encrypted before database storage
  • Secure encryption key management
  • Passwords hashed with bcrypt
  • Unique and hard-to-guess URLs
  • Automatic clip expiration
  • View limits
  • No access logs stored
  • Automatic deletion of expired clips
  • HTTPS encryption for all communications

Important: ClipBin is ideal for sharing temporary information, but should not be used for storing critical long-term data.

Time Management and Limits
How does automatic expiration work?

You can configure when your clip expires:

  • 1 hour: For very temporary information
  • 1 day: For sharing during the work day
  • 1 week: For short-term projects
  • 1 month: For information you need to keep longer
  • Never: The clip remains until manually deleted

Once it expires, the clip is automatically deleted and will no longer be accessible.

What are maximum views?

Maximum views limit how many times your clip can be viewed:

  • 1 view: The clip is deleted after being viewed once
  • 5 views: Useful for sharing with a small group
  • 10 views: For medium-sized teams
  • 50 views: For broader sharing
  • No limit: Can be viewed indefinitely (until it expires)

Each time someone views the clip, the counter decreases. When it reaches zero, the clip is automatically deleted.

Syntax Highlighting and Code
What programming languages support syntax highlighting?

ClipBin supports syntax highlighting for over 50 languages:

  • Web: HTML, CSS, JavaScript, TypeScript, PHP
  • Backend: Python, Java, C#, Go, Rust, Ruby
  • Systems: C, C++, Assembly
  • Functional: Haskell, Scala, Clojure
  • Mobile: Swift, Kotlin, Dart
  • Data: SQL, JSON, YAML, XML
  • Scripting: Bash, PowerShell, Perl
  • And many more...

Highlighting is applied automatically when you select the language or upload a file with a recognized extension.

How does the syntax preview work?

The preview lets you see how your code will look before creating the clip:

  • Updates in real-time as you type
  • Changes automatically when you select a different language
  • Works in both light and dark themes
  • Shows the exact colors users will see

This helps you ensure your code looks correct before sharing it.

URLs and Customization
Can I create custom URLs?

Yes, you can create custom URLs for your clips:

  • Use only letters, numbers, hyphens and underscores
  • Must be unique (cannot be in use)
  • Makes the URL easier to remember
  • Useful for sharing in presentations or documentation
Example: clipbin.net/my-important-code
Instead of: clipbin.net/x7k9m2n8

If you don't specify a custom URL, a unique and secure URL will be automatically generated.

Curl Upload
How can I upload text files from the terminal using curl?

You can easily upload text files directly from your terminal using curl. This is perfect for automating uploads or integrating ClipBin into your workflow:

Basic Upload

curl -F '[email protected]' https://clipbin.net/upload

Upload with Options

curl -F '[email protected]' \
     -F 'password=mypassword123' \
     -F 'expires_in=1440' \
     -F 'max_views=10' \
     -F 'custom_url=my-important-file' \
     https://clipbin.net/upload

Available options:

  • password: Protect the file with a password
  • expires_in: Expiration time in minutes (5, 15, 60, 360, 1440, 10080, 43200)
  • max_views: Maximum number of views (1, 5, 10, 25, 100, 0 for unlimited)
  • custom_url: Custom URL for easy sharing
  • one_time_view: Set to 'true' for burn-after-reading

Supported file types:

Text & Config Files

.txt, .md, .json, .xml, .csv, .log, .yaml, .yml, .ini, .conf, .toml, .properties, .env, .cfg, .config, .settings, .plist, .reg

Programming Languages

.go, .py, .js, .ts, .java, .c, .cpp, .h, .hpp, .cs, .php, .rb, .rs, .kt, .swift, .dart, .scala, .clj, .hs, .ml, .fs, .vb, .pas, .pl, .r, .m, .lua, .nim, .zig, .jl, .elm, .ex, .exs, .erl, .hrl, .cr, .d, .f90, .f95, .f03, .f08, .for, .ftn, .f, .cob, .cbl, .ada, .adb, .ads

Web Technologies

.html, .htm, .css, .scss, .sass, .less, .jsx, .tsx, .vue, .svelte, .astro

Shell & Scripts

.sh, .bash, .zsh, .fish, .csh, .tcsh, .ksh, .bat, .cmd, .ps1, .psm1, .psd1

Database & Query Languages

.sql, .mysql, .pgsql, .sqlite, .nosql, .cql, .cypher, .sparql

Markup & Documentation

.rst, .tex, .latex, .adoc, .asciidoc, .org, .wiki, .textile

Build & Deployment

.dockerfile, .makefile, .cmake, .gradle, .maven, .ant, .sbt, .cabal, .stack, .cargo, .mix, .rebar, .dub, .nimble, .shards

Version Control & CI/CD

.gitignore, .gitattributes, .gitmodules, .hgignore, .bzrignore, .svnignore

Package Managers

.lock, .sum, .resolved, .frozen

Other Common Extensions

.proto, .graphql, .gql, .thrift, .avro, .schema, .xsd, .dtd, .rng, .rnc

Maximum file size: 10 MB

The response will include the URL where your file can be accessed and shared.

Customization and Themes
Can I switch between light and dark themes?

Yes, ClipBin includes complete theme support:

  • Light theme for working during the day
  • Dark theme to reduce eye strain
  • Instant switching with the toggle in the top right corner
  • Syntax highlighting automatically adapts to the theme
  • Your preference is automatically saved

The theme applies to the entire interface, including code preview and shared clips.

Common Issues
What do I do if my clip won't load?

If you have trouble loading a clip, check:

  • Correct URL: Make sure the URL is complete and correct
  • Expired clip: The clip may have reached its expiration date
  • Views exhausted: It may have reached the view limit
  • Password required: The clip may be password protected
  • Clip deleted: The creator may have deleted the clip

If the problem persists, contact the clip creator to verify its status.

Are there limits on text size?

ClipBin has some reasonable limits to maintain performance:

  • Maximum size: Generally up to 1MB of text
  • Files: Supports moderate-sized text files
  • Performance: Very large clips may take longer to load

For very large files, consider splitting the content into multiple clips or using specialized file transfer services.

Tips and Best Practices
What are the best practices for using ClipBin?

To get the most out of ClipBin:

  • Use passwords for sensitive information
  • Set appropriate expiration for your use case
  • Select the correct language for better highlighting
  • Use custom URLs for important clips
  • Limit views for exclusive content
  • Test the preview before sharing code
  • Don't store critical data long-term

Remember that ClipBin is ideal for sharing temporary information, not for permanent storage.