What is Pastebin.co.uk?

Pastebin.co.uk is here to help you collaborate on developing and debugging code snippets and even entire projects.
If you're not familiar with the idea, most people use it like this:

  1. submit a code fragment to pastebin, getting a url like https://pastebin.co.uk/1234
  2. paste the url into an IRC or IM conversation
  3. someone responds by reading and perhaps submitting a modification of your code
  4. you then view the modification, maybe using the built in diff tool to help locate the changes

Pastebin.co.uk features.

  1. Code Syntax Colouring - Syntax colouring of 71 programming languages, scripting languages and database languages.
  2. Function Manual Linking - automatically creates links to the relevant manual pages for functions in your pasted code.
  3. Code Highliting - Code segment highliting - simply wrap the code you wish to highlite like such @!@code here@!@ - highliting can span multiple lines.
  4. Code Comment Tracking - Leave comments for users with each post describing any changes you made.
  5. Diffs and Patches - Inline highliting of code differences between any 2 versions. Download diffs as a patch file.
  6. Private Pastebins - Create private pastebins for collaborative project code review - Registered users can password protect pastebins and restrict access by username.
  7. User Messaging - Registered users can send and receive messages from other users - helping developers to collectively work on projects.
  8. RSS XML Feeds - Get Live feeds of the latest 20 posts for any pastebin or project - keeping you informed of any new posts.
  9. PHP Parser Checking - Automatically parses any PHP code and returns the parser results.(Now uses PHP5)
  10. NEW!! Interactive PHP CLI - Learn, test and debug PHP, Ruby and Python code online with the new interactive (CLI) Command Line Interface.

How do I get and use a private pastebin?

You get a private pastebin simply by thinking up a domain name no-one else is using, e.g. http://private.pastebin.co.uk or http://myproject.pastebin.co.uk. Posts made into a subdomain only show up on that domain, making it easy for you to collaborate without the 'noise' of the regular service.

All you need to do is change the web address in your browser to access a private pastebin, or you can simply enter the domain you'd like below

Please note that there is no password protection unless you are a registered user - subdomains are accessible to anyone who knows the domain name you've chosen, but we do not publish a list of domains used.